|
|
|
@ -173,7 +173,7 @@ |
|
|
|
and crr.status = #{status} |
|
|
|
</if> |
|
|
|
<if test="name != null and name.length() > 0"> |
|
|
|
and crr.name = #{name} |
|
|
|
and crr.name like CONCAT('%', #{name}, '%') |
|
|
|
</if> |
|
|
|
<if test="jwcode != null"> |
|
|
|
and crr.jwcode = #{jwcode} |
|
|
|
@ -250,7 +250,7 @@ |
|
|
|
and crr.status = #{status} |
|
|
|
</if> |
|
|
|
<if test="name != null and name.length() > 0"> |
|
|
|
and crr.name = #{name} |
|
|
|
and crr.name like CONCAT('%', #{name}, '%') |
|
|
|
</if> |
|
|
|
<if test="jwcode != null"> |
|
|
|
and crr.jwcode = #{jwcode} |
|
|
|
@ -271,11 +271,14 @@ |
|
|
|
AND crc.payment_currency LIKE CONCAT('%', #{paymentCurrency}, '%') |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="goodsNames!= null and goodsNames.size > 0"> |
|
|
|
AND crc.goods_name IN |
|
|
|
<foreach collection="goodsNames" item="goodsNames" open="(" separator="," close=")"> |
|
|
|
#{goodsNames} |
|
|
|
</foreach> |
|
|
|
<!-- <if test="goodsNames!= null and goodsNames.size > 0">--> |
|
|
|
<!-- AND crc.goods_name IN--> |
|
|
|
<!-- <foreach collection="goodsNames" item="goodsNames" open="(" separator="," close=")">--> |
|
|
|
<!-- #{goodsNames}--> |
|
|
|
<!-- </foreach>--> |
|
|
|
<!-- </if>--> |
|
|
|
<if test="goodsName!= null and goodsName.length() > 0"> |
|
|
|
and crc.goods_name = #{goodsName} |
|
|
|
</if> |
|
|
|
<if test="payType != null and payType.length()>0"> |
|
|
|
and crc.pay_type = #{payType} |
|
|
|
@ -337,7 +340,7 @@ |
|
|
|
and crr.status = #{status} |
|
|
|
</if> |
|
|
|
<if test="name != null and name.length() > 0"> |
|
|
|
and crr.name = #{name} |
|
|
|
and crr.name like CONCAT('%', #{name}, '%') |
|
|
|
</if> |
|
|
|
<if test="jwcode != null"> |
|
|
|
and crr.jwcode = #{jwcode} |
|
|
|
|