|
@@ -55,12 +55,10 @@
|
|
|
<!--<if test="cmr != null and cmr != ''"> and cmr like concat(concat('%', #{cmr}), '%')</if>-->
|
|
|
<if test="cmrs != null and cmrs != ''">
|
|
|
and
|
|
|
- cmr like concat(concat('%',
|
|
|
<foreach collection="cmrs.split(',')" item="item" index="index"
|
|
|
- open="" close="" separator=",'%',">
|
|
|
- #{item}
|
|
|
+ open="" close="" separator="and">
|
|
|
+ instr(cmr ,#{item}) >0
|
|
|
</foreach>
|
|
|
- ), '%')
|
|
|
</if>
|
|
|
<if test="issueTime != null "> and issue_time = #{issueTime}</if>
|
|
|
<if test="productcategory != null and productcategory != ''"> and productcategory = #{productcategory}</if>
|
|
@@ -207,4 +205,4 @@
|
|
|
</foreach>
|
|
|
</update>
|
|
|
|
|
|
-</mapper>
|
|
|
+</mapper>
|