dev_2.5_ocean
wangwei 4 months ago
parent 755c21e1b1
commit ba6efde57f

@ -46,48 +46,15 @@
<where>
<if test="billNo != '' and billNo != null">
AND billNo LIKE concat('%',
#{billNo}
,
'%'
)
AND billNo LIKE concat('%', #{billNo},'%')
</if>
<if test="workplaceName != '' and workplaceName != null">
AND workplaceName
LIKE
concat
(
'%'
,
#{workplaceName}
,
'%'
)
AND workplaceName LIKE concat('%', #{workplaceName} ,'%')
</if>
<if test="fromCorp != '' and fromCorp != null">
AND (
fromCorp
LIKE
concat
(
'%'
,
#{fromCorp}
,
'%'
)
or
fromCorpName
LIKE
concat
(
'%'
,
#{fromCorp}
,
'%'
)
)
AND ( fromCorp LIKE concat( '%' , #{fromCorp} , '%')
or fromCorpName LIKE concat( '%',#{fromCorp},'%')
)
</if>
<if test="fromType != '' and fromType != null">
AND fromType LIKE concat('%', #{fromType}, '%')

Loading…
Cancel
Save