This commit is contained in:
linfso 2024-09-09 09:54:22 +08:00
parent a07281ccaf
commit 1f5754b6f4

View File

@ -41,10 +41,10 @@
<where>
del_flag = '0'
<if test="id != null "> and id = #{id}</if>
<if test="lineCode != null and lineCode != ''"> and line_code like concat('%', #{lineCode}, '%')</if>
<if test="lineCode != null and lineCode != ''"> and FIND_IN_SET(line_code,#{lineCode})</if>
<if test="lineName != null and lineName != ''"> and line_name like concat('%', #{lineName}, '%')</if>
<if test="lineNameEn != null and lineNameEn != ''"> and line_name_en like concat('%', #{lineNameEn}, '%')</if>
<if test="meterRate != null and meterRate != ''"> and meter_rate like concat('%', #{meterRate}, '%')</if>
<if test="meterRate != null and meterRate != ''"> and meter_rate=#{meterRate}</if>
<if test="status != null "> and status = #{status}</if>
<if test="siteAuditMan != null and siteAuditMan != ''"> and site_audit_man like concat('%', #{siteAuditMan}, '%')</if>
<if test="siteAuditManCode != null and siteAuditManCode != ''"> and site_audit_man_code like concat('%', #{siteAuditManCode}, '%')</if>
@ -52,11 +52,11 @@
<if test="marketManCode != null and marketManCode != ''"> and market_man_code like concat('%', #{marketManCode}, '%')</if>
<if test="operateMan != null and operateMan != ''"> and operate_man like concat('%', #{operateMan}, '%')</if>
<if test="operateManCode != null and operateManCode != ''"> and operate_man_code like concat('%', #{operateManCode}, '%')</if>
<if test="fromCountry != null and fromCountry != ''"> and from_country like concat('%', #{fromCountry}, '%')</if>
<if test="country != null and country != ''"> and country like concat('%', #{country}, '%')</if>
<if test="applyScope != null and applyScope != ''"> and apply_scope like concat('%', #{applyScope}, '%')</if>
<if test="logoType != null and logoType != ''"> and logo_type=#{logoType}</if>
<if test="transType != null and transType != ''"> and trans_type like concat('%', #{transType}, '%')</if>
<if test="fromCountry != null and fromCountry != ''"> and from_country=#{fromCountry}</if>
<if test="country != null and country != ''"> and country=#{country}</if>
<if test="applyScope != null and applyScope != ''"> and apply_scope=#{applyScope}</if>
<if test="logoType != null and logoType != ''"> and ( logo_type='-1' or logo_type=#{logoType} )</if>
<if test="transType != null and transType != ''"> and trans_type=#{transType}</if>
<if test="orderNum != null "> and order_num = #{orderNum}</if>
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
<if test="tenantId != null and tenantId != ''"> and tenant_id like concat('%', #{tenantId}, '%')</if>