|
|
@ -114,10 +114,10 @@
|
|
|
|
left join thr_products tp on tp.code = basic_udirel.mainId
|
|
|
|
left join thr_products tp on tp.code = basic_udirel.mainId
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc}, '%')
|
|
|
|
AND basic_products.ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
AND cpmctymc LIKE concat(#{cpmctymc}, '%')
|
|
|
|
AND cpmctymc LIKE concat('%',#{cpmctymc}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="nameCode != '' and nameCode != null">
|
|
|
|
<if test="nameCode != '' and nameCode != null">
|
|
|
|
AND nameCode LIKE concat(#{nameCode}, '%')
|
|
|
|
AND nameCode LIKE concat(#{nameCode}, '%')
|
|
|
|