|
|
|
@ -207,11 +207,11 @@
|
|
|
|
|
AND basic_products.pinyinInitial like concat('%', #{pinyinInitial}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="thrPiId != '' and thrPiId != null">
|
|
|
|
|
and (thirdId LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or thirdId1 LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or thirdId2 LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or thirdId3 LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or thirdId4 LIKE concat('%', #{thrPiId}, '%'))
|
|
|
|
|
and (basic_udirel.thirdId LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or basic_udirel.thirdId1 LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or basic_udirel.thirdId2 LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or basic_udirel.thirdId3 LIKE concat('%', #{thrPiId}, '%')
|
|
|
|
|
or basic_udirel.thirdId4 LIKE concat('%', #{thrPiId}, '%'))
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ggxh != '' and ggxh != null">
|
|
|
|
|
AND ggxh LIKE concat('%', #{ggxh}, '%')
|
|
|
|
@ -223,7 +223,7 @@
|
|
|
|
|
AND nameCode LIKE concat(#{nameCode}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="thirdId != '' and thirdId != null">
|
|
|
|
|
AND thirdId LIKE concat(#{thirdId}, '%')
|
|
|
|
|
AND basic_udirel.thirdId LIKE concat(#{thirdId}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="uuid != '' and uuid != null">
|
|
|
|
|
AND basic_udirel.uuid = #{uuid}
|
|
|
|
@ -273,7 +273,7 @@
|
|
|
|
|
</foreach>
|
|
|
|
|
</if>
|
|
|
|
|
<if test="flbm != '' and flbm != null">
|
|
|
|
|
and (tp.flbm = #{flbm} or basic_products.flbm = #{flbm})
|
|
|
|
|
and (tp.flbm = #{flbm} or basic_products.flbm = #{flbm} or tp.cplb = #{flbm})
|
|
|
|
|
</if>
|
|
|
|
|
<if test="companyName != '' and companyName != null">
|
|
|
|
|
AND basic_corp.name like concat('%', #{companyName}, '%')
|
|
|
|
@ -358,13 +358,13 @@
|
|
|
|
|
AND nameCode LIKE concat(#{nameCode}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
|
AND cpmctymc LIKE concat('%', #{cpmctymc}, '%')
|
|
|
|
|
AND basic_products.cpmctymc LIKE concat('%', #{cpmctymc}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="entireCpmctymc != '' and entireCpmctymc != null">
|
|
|
|
|
AND cpmctymc = #{entireCpmctymc}
|
|
|
|
|
AND basic_products.cpmctymc = #{entireCpmctymc}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ggxh != '' and ggxh != null">
|
|
|
|
|
AND ggxh LIKE concat('%', #{ggxh}, '%')
|
|
|
|
|
AND basic_products.ggxh LIKE concat('%', #{ggxh}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="unionCode != '' and unionCode != null">
|
|
|
|
|
and (
|
|
|
|
@ -395,7 +395,7 @@
|
|
|
|
|
AND udplatCode = #{udplatCode}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null">
|
|
|
|
|
AND zczbhhzbapzbh LIKE concat(#{zczbhhzbapzbh}, '%')
|
|
|
|
|
AND basic_products.zczbhhzbapzbh LIKE concat(#{zczbhhzbapzbh}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="diType != '' and diType != null">
|
|
|
|
|
AND diType = #{diType}
|
|
|
|
@ -444,7 +444,7 @@
|
|
|
|
|
and originUuid = #{originUuid}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="manufactory != null and manufactory != ''">
|
|
|
|
|
and manufactory LIKE concat('%', #{manufactory}, '%')
|
|
|
|
|
and basic_products.manufactory LIKE concat('%', #{manufactory}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="dispatch != null">
|
|
|
|
|
and basic_udirel.dispatch = #{dispatch}
|
|
|
|
|