|
|
@@ -31,6 +31,8 @@ |
|
|
|
<result column="refresh_token" jdbcType="VARCHAR" property="refreshToken"/> |
|
|
|
<result column="access_token" jdbcType="VARCHAR" property="accessToken"/> |
|
|
|
<result column="access_token_expire" jdbcType="TIMESTAMP" property="accessTokenExpire"/> |
|
|
|
|
|
|
|
<result column="plat" jdbcType="INTEGER" property="plat"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
@@ -39,7 +41,7 @@ |
|
|
|
`privacy_setting_status`, |
|
|
|
`current_version`,`current_desc`,`release_time`, |
|
|
|
`open_appid`,`bind_open_time`,`refresh_token`, |
|
|
|
`access_token`,`access_token_expire` |
|
|
|
`access_token`,`access_token_expire`,`plat` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
@@ -119,6 +121,9 @@ |
|
|
|
<if test=" null != bindOpenTime "> |
|
|
|
and `bind_open_time` = #{bindOpenTime} |
|
|
|
</if> |
|
|
|
<if test=" null != plat "> |
|
|
|
and `plat` = #{plat} |
|
|
|
</if> |
|
|
|
<if test=" null != ids "> |
|
|
|
and id in |
|
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
@@ -214,6 +219,7 @@ |
|
|
|
<result column="release_time" jdbcType="TIMESTAMP" property="releaseTime"/> |
|
|
|
<result column="open_appid" jdbcType="VARCHAR" property="openAppid"/> |
|
|
|
<result column="bind_open_time" jdbcType="TIMESTAMP" property="bindOpenTime"/> |
|
|
|
<result column="plat" jdbcType="INTEGER" property="plat"/> |
|
|
|
<result column="name" jdbcType="VARCHAR" property="name"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
@@ -226,7 +232,7 @@ |
|
|
|
ai.`template_status`,ai.`template_time`, |
|
|
|
ai.`privacy_setting_status`, |
|
|
|
ai.`current_version` as `current_version`,ai.`current_desc`,ai.`release_time`, |
|
|
|
ai.`open_appid`,ai.`bind_open_time`, |
|
|
|
ai.`open_appid`,ai.`bind_open_time`,ai.`plat`, |
|
|
|
a.`name` as `name` |
|
|
|
</sql> |
|
|
|
|
|
|
@@ -286,6 +292,9 @@ |
|
|
|
<if test=" null != openAppid "> |
|
|
|
and ai.`open_appid` = #{openAppid} |
|
|
|
</if> |
|
|
|
<if test=" null != plat "> |
|
|
|
and ai.`plat` = #{plat} |
|
|
|
</if> |
|
|
|
<if test=" null != ids "> |
|
|
|
and ai.id in |
|
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|