整合服务的编号支持模糊查询

This commit is contained in:
彭枝刚 2024-12-19 20:18:37 +08:00
parent 7d2630c7d5
commit 806213f68d

View File

@ -31,7 +31,7 @@
join INT_IN_DATA_LOG B on A.SID = B.INT_IN_DATA_SID and A.RETRY_COUNT=B.SEQ
where a.SITE = #{dto.site}
<if test="dto.sid != null and dto.sid != ''">
and A.sid = #{dto.sid}
and A.sid like concat('%',#{dto.sid},'%')
</if>
<if test="dto.fromSystem != null and dto.fromSystem != ''">
and A.FROM_SYSTEM = #{dto.fromSystem}
@ -46,7 +46,7 @@
and A.FUNCTION_NAME = #{dto.functionName}
</if>
<if test="dto.keyValue != null and dto.keyValue != ''">
and A.KEY_VALUE like concat('%',#{dto.keyValue},'%')
and A.KEY_VALUE like concat('%',#{dto.keyValue},'%')
</if>
<if test="dto.start != null ">
and A.DATE_CREATE >= #{dto.start}