|
|
|
@@ -13,10 +13,11 @@ |
|
|
|
<result column="capability" jdbcType="VARCHAR" property="capability"/> |
|
|
|
<result column="user_name" jdbcType="VARCHAR" property="userName"/> |
|
|
|
<result column="password" jdbcType="VARCHAR" property="password"/> |
|
|
|
<result column="old_plat" jdbcType="VARCHAR" property="oldPlat"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`wiwide_id`,`wiwide_key`,`wiwide_url`, `token`,`expired_time`,`capability`,`user_name`,`password` |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`wiwide_id`,`wiwide_key`,`wiwide_url`, `token`,`expired_time`,`capability`,`user_name`,`password`,`old_plat` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -36,6 +37,11 @@ |
|
|
|
<if test=" null != wiwideId "> |
|
|
|
and `wiwide_id` like concat('%', #{wiwideId},'%') |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != oldPlat "> |
|
|
|
and `old_plat` = #{oldPlat} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != ids "> |
|
|
|
and id in |
|
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|
|