parent
da1820e368
commit
070090b3a7
|
@ -33,7 +33,7 @@
|
||||||
,modify_time
|
,modify_time
|
||||||
,sts
|
,sts
|
||||||
,sorts
|
,sorts
|
||||||
,appId
|
,app_id
|
||||||
,name
|
,name
|
||||||
,ip_address
|
,ip_address
|
||||||
,port
|
,port
|
||||||
|
@ -46,6 +46,14 @@
|
||||||
,corpId
|
,corpId
|
||||||
,agentId
|
,agentId
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
<select id="entity_get" parameterType="com.hzya.frame.sysnew.application.appAcount.entity.SysApplicationAccountEntity" resultMap="get-SysApplicationAccountEntity-result">
|
||||||
|
select
|
||||||
|
<include refid="SysApplicationAccountEntity_Base_Column_List"/>
|
||||||
|
from sys_application_account
|
||||||
|
where id = #{id}
|
||||||
|
and sts = 'Y'
|
||||||
|
</select>
|
||||||
<!-- 查询 采用==查询 -->
|
<!-- 查询 采用==查询 -->
|
||||||
<select id="entity_list_base" resultMap="get-SysApplicationAccountEntity-result"
|
<select id="entity_list_base" resultMap="get-SysApplicationAccountEntity-result"
|
||||||
parameterType="com.hzya.frame.sysnew.application.appAcount.entity.SysApplicationAccountEntity">
|
parameterType="com.hzya.frame.sysnew.application.appAcount.entity.SysApplicationAccountEntity">
|
||||||
|
@ -199,6 +207,7 @@
|
||||||
<if test="appSecret != null and appSecret != ''">app_secret ,</if>
|
<if test="appSecret != null and appSecret != ''">app_secret ,</if>
|
||||||
<if test="corpid != null and corpid != ''">corpId ,</if>
|
<if test="corpid != null and corpid != ''">corpId ,</if>
|
||||||
<if test="agentid != null and agentid != ''">agentId ,</if>
|
<if test="agentid != null and agentid != ''">agentId ,</if>
|
||||||
|
<if test="appId != null and appId != ''">app_id ,</if>
|
||||||
<if test="sorts == null ">sorts,</if>
|
<if test="sorts == null ">sorts,</if>
|
||||||
<if test="sts == null ">sts,</if>
|
<if test="sts == null ">sts,</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
@ -222,8 +231,10 @@
|
||||||
<if test="appSecret != null and appSecret != ''">#{appSecret} ,</if>
|
<if test="appSecret != null and appSecret != ''">#{appSecret} ,</if>
|
||||||
<if test="corpid != null and corpid != ''">#{corpid} ,</if>
|
<if test="corpid != null and corpid != ''">#{corpid} ,</if>
|
||||||
<if test="agentid != null and agentid != ''">#{agentid} ,</if>
|
<if test="agentid != null and agentid != ''">#{agentid} ,</if>
|
||||||
<if test="sorts == null ">COALESCE((select (max(IFNULL( a.sorts, 0 )) + 1) as sort from sys_application_account a
|
<if test="appId != null and appId != ''">#{appId} ,</if>
|
||||||
WHERE a.sts = 'Y' )1),
|
<if test="sorts == null ">
|
||||||
|
COALESCE((select (max(IFNULL( a.sorts, 0 )) + 1) as sort from sys_application_account a WHERE
|
||||||
|
a.sts = 'Y' ),1),
|
||||||
</if>
|
</if>
|
||||||
<if test="sts == null ">'Y',</if>
|
<if test="sts == null ">'Y',</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
@ -284,6 +295,7 @@
|
||||||
<if test="userName != null and userName != ''">user_name = #{userName},</if>
|
<if test="userName != null and userName != ''">user_name = #{userName},</if>
|
||||||
<if test="password != null and password != ''">password = #{password},</if>
|
<if test="password != null and password != ''">password = #{password},</if>
|
||||||
<if test="dbType != null and dbType != ''">db_type = #{dbType},</if>
|
<if test="dbType != null and dbType != ''">db_type = #{dbType},</if>
|
||||||
|
<if test="appId != null and appId != ''">app_id = #{appId},</if>
|
||||||
<if test="appKey != null and appKey != ''">app_key = #{appKey},</if>
|
<if test="appKey != null and appKey != ''">app_key = #{appKey},</if>
|
||||||
<if test="appSecret != null and appSecret != ''">app_secret = #{appSecret},</if>
|
<if test="appSecret != null and appSecret != ''">app_secret = #{appSecret},</if>
|
||||||
<if test="corpid != null and corpid != ''">corpId = #{corpid},</if>
|
<if test="corpid != null and corpid != ''">corpId = #{corpid},</if>
|
||||||
|
@ -318,6 +330,7 @@
|
||||||
<if test="appKey != null and appKey != ''">and app_key = #{appKey}</if>
|
<if test="appKey != null and appKey != ''">and app_key = #{appKey}</if>
|
||||||
<if test="appSecret != null and appSecret != ''">and app_secret = #{appSecret}</if>
|
<if test="appSecret != null and appSecret != ''">and app_secret = #{appSecret}</if>
|
||||||
<if test="corpid != null and corpid != ''">and corpId = #{corpid}</if>
|
<if test="corpid != null and corpid != ''">and corpId = #{corpid}</if>
|
||||||
|
<if test="appId != null and appId != ''">and app_id = #{appId}</if>
|
||||||
<if test="agentid != null and agentid != ''">and agentId = #{agentid}</if>
|
<if test="agentid != null and agentid != ''">and agentId = #{agentid}</if>
|
||||||
and sts='Y'
|
and sts='Y'
|
||||||
</trim>
|
</trim>
|
||||||
|
|
Loading…
Reference in New Issue