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

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

Loading…
Cancel
Save