@@ -51,7 +51,7 @@
a.del_flag = #{DEL_FLAG_NORMAL}
${dataScope}
<if test="itemId != null and itemId != ''">
- AND a.item_id = #{itemId}
+ AND a.item_id LIKE CONCAT(CONCAT('%',#{itemId},'%'))
</if>
<if test="status!=null and status !=''">
AND a.status = #{status}
@@ -42,7 +42,7 @@
<if test="uniqueCode != null and uniqueCode != ''">
- AND a.unique_code = LIKE CONCAT(CONCAT('%',#{uniqueCode},'%'))
+ AND a.unique_code LIKE CONCAT(CONCAT('%',#{uniqueCode},'%'))
</where>
<choose>