|
|
@@ -119,16 +119,6 @@ |
|
|
<include refid="dynamicWhereConditions" /> |
|
|
<include refid="dynamicWhereConditions" /> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="findWeappList" resultMap="BaseResultMap"> |
|
|
|
|
|
select <include refid="allColumns" /> from wx_authorizer_info |
|
|
|
|
|
where type = 1 or type = 2 |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="findWxMpList" resultMap="BaseResultMap"> |
|
|
|
|
|
select <include refid="allColumns" /> from wx_authorizer_info |
|
|
|
|
|
where type = 3 or type = 4 |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<update id="updateReleaseInfo" parameterType="com.iformall.domain.po.WxAuthorizerInfo" > |
|
|
<update id="updateReleaseInfo" parameterType="com.iformall.domain.po.WxAuthorizerInfo" > |
|
|
update wx_authorizer_info |
|
|
update wx_authorizer_info |
|
|
set `current_version` = #{currentVersion}, `current_desc` = #{currentDesc}, `release_time` = #{releaseTime}, `update_time` = #{updateTime} |
|
|
set `current_version` = #{currentVersion}, `current_desc` = #{currentDesc}, `release_time` = #{releaseTime}, `update_time` = #{updateTime} |
|
|
@@ -170,6 +160,7 @@ |
|
|
<result column="release_time" jdbcType="TIMESTAMP" property="releaseTime" /> |
|
|
<result column="release_time" jdbcType="TIMESTAMP" property="releaseTime" /> |
|
|
<result column="open_appid" jdbcType="VARCHAR" property="openAppid" /> |
|
|
<result column="open_appid" jdbcType="VARCHAR" property="openAppid" /> |
|
|
<result column="bind_open_time" jdbcType="TIMESTAMP" property="bindOpenTime" /> |
|
|
<result column="bind_open_time" jdbcType="TIMESTAMP" property="bindOpenTime" /> |
|
|
|
|
|
<result column="tenant_id" jdbcType="INTEGER" property="tenantId" /> |
|
|
<result column="type" jdbcType="INTEGER" property="type" /> |
|
|
<result column="type" jdbcType="INTEGER" property="type" /> |
|
|
<result column="name" jdbcType="TIMESTAMP" property="name" /> |
|
|
<result column="name" jdbcType="TIMESTAMP" property="name" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
@@ -183,7 +174,7 @@ |
|
|
ai.`template_status`,ai.`template_time`, |
|
|
ai.`template_status`,ai.`template_time`, |
|
|
ai.`current_version`,ai.`current_desc`,ai.`release_time`, |
|
|
ai.`current_version`,ai.`current_desc`,ai.`release_time`, |
|
|
ai.`open_appid`,ai.`bind_open_time`, |
|
|
ai.`open_appid`,ai.`bind_open_time`, |
|
|
a.`type`,a.`name` |
|
|
|
|
|
|
|
|
a.`tenant_id`,a.`type`,a.`name` |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<sql id="dynamicVWhereConditions"> |
|
|
<sql id="dynamicVWhereConditions"> |
|
|
@@ -251,10 +242,20 @@ |
|
|
left join wx_appinfo a on ai.`authorizer_appid` = a.app_id |
|
|
left join wx_appinfo a on ai.`authorizer_appid` = a.app_id |
|
|
<include refid="dynamicVWhereConditions" /> |
|
|
<include refid="dynamicVWhereConditions" /> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="findWeappList" resultMap="BaseResultMap"> |
|
|
|
|
|
select <include refid="allVColumns" /> |
|
|
|
|
|
from wx_authorizer_info ai |
|
|
|
|
|
left join wx_appinfo a on ai.`authorizer_appid` = a.app_id |
|
|
|
|
|
where a.type = 1 or a.type = 2 |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="findWxMpList" resultMap="BaseResultMap"> |
|
|
|
|
|
select <include refid="allVColumns" /> |
|
|
|
|
|
from wx_authorizer_info ai |
|
|
|
|
|
left join wx_appinfo a on ai.`authorizer_appid` = a.app_id |
|
|
|
|
|
where a.type = 3 or a.type = 4 |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper> |
|
|
</mapper> |