|
@@ -45,27 +45,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectTUInterfaceinfoList" parameterType="TUInterfaceinfo" resultMap="TUInterfaceinfoResult">
|
|
|
<include refid="selectTUInterfaceinfoVo"/>
|
|
|
- <where>
|
|
|
- <if test="deptId != null and deptId != ''"> and dept_id = #{deptId}</if>
|
|
|
- <if test="status != null and status != ''"> and status = #{status}</if>
|
|
|
- <if test="interfaceName != null and interfaceName != ''"> and interface_name like concat('%', #{interfaceName}, '%')</if>
|
|
|
- <if test="needRefresh != null and needRefresh != ''"> and need_refresh = #{needRefresh}</if>
|
|
|
- <if test="infoItem != null and infoItem != ''"> and info_item = #{infoItem}</if>
|
|
|
- <if test="usageScenarios != null and usageScenarios != ''"> and usage_scenarios = #{usageScenarios}</if>
|
|
|
- <if test="shareType != null and shareType != ''"> and share_type = #{shareType}</if>
|
|
|
- <if test="interfaceType != null and interfaceType != ''"> and interface_type = #{interfaceType}</if>
|
|
|
- <if test="env != null and env != ''"> and env = #{env}</if>
|
|
|
- <if test="signServeraddress != null and signServeraddress != ''"> and sign_serveraddress = #{signServeraddress}</if>
|
|
|
- <if test="interfaceAddress != null and interfaceAddress != ''"> and interface_address = #{interfaceAddress}</if>
|
|
|
- <if test="typeIam != null and typeIam != ''"> and type_iam = #{typeIam}</if>
|
|
|
- <if test="typeAksk != null and typeAksk != ''"> and type_aksk = #{typeAksk}</if>
|
|
|
- <if test="code != null and code != ''"> and code = #{code}</if>
|
|
|
- <if test="callsuccnum != null and callsuccnum != ''"> and callsuccnum = #{callsuccnum}</if>
|
|
|
- <if test="callfailnum != null and callfailnum != ''"> and callfailnum = #{callfailnum}</if>
|
|
|
- <if test="shareType1 != null and shareType1 != '' and shareType3 != null and shareType3 != ''">
|
|
|
- and share_type in (#{shareType1}, #{shareType3})
|
|
|
- </if>
|
|
|
- </where>
|
|
|
+ where del_flag = '0'
|
|
|
+ <if test="deptId != null and deptId != ''"> and dept_id = #{deptId}</if>
|
|
|
+ <if test="status != null and status != ''"> and status = #{status}</if>
|
|
|
+ <if test="interfaceName != null and interfaceName != ''"> and interface_name like concat('%', #{interfaceName}, '%')</if>
|
|
|
+ <if test="needRefresh != null and needRefresh != ''"> and need_refresh = #{needRefresh}</if>
|
|
|
+ <if test="infoItem != null and infoItem != ''"> and info_item = #{infoItem}</if>
|
|
|
+ <if test="usageScenarios != null and usageScenarios != ''"> and usage_scenarios = #{usageScenarios}</if>
|
|
|
+ <if test="shareType != null and shareType != ''"> and share_type = #{shareType}</if>
|
|
|
+ <if test="interfaceType != null and interfaceType != ''"> and interface_type = #{interfaceType}</if>
|
|
|
+ <if test="env != null and env != ''"> and env = #{env}</if>
|
|
|
+ <if test="signServeraddress != null and signServeraddress != ''"> and sign_serveraddress = #{signServeraddress}</if>
|
|
|
+ <if test="interfaceAddress != null and interfaceAddress != ''"> and interface_address = #{interfaceAddress}</if>
|
|
|
+ <if test="typeIam != null and typeIam != ''"> and type_iam = #{typeIam}</if>
|
|
|
+ <if test="typeAksk != null and typeAksk != ''"> and type_aksk = #{typeAksk}</if>
|
|
|
+ <if test="code != null and code != ''"> and code = #{code}</if>
|
|
|
+ <if test="callsuccnum != null and callsuccnum != ''"> and callsuccnum = #{callsuccnum}</if>
|
|
|
+ <if test="callfailnum != null and callfailnum != ''"> and callfailnum = #{callfailnum}</if>
|
|
|
+ <if test="shareType1 != null and shareType1 != '' and shareType3 != null and shareType3 != ''">
|
|
|
+ and share_type in (#{shareType1}, #{shareType3})
|
|
|
+ </if>
|
|
|
order by create_time desc
|
|
|
</select>
|
|
|
|