|
@@ -213,10 +213,10 @@
|
|
|
group by item_id) t2 on t1.itemId = t2.itemId
|
|
|
where 1 = 1
|
|
|
<if test="itemId != null and itemId != ''">
|
|
|
- and t1.item_id = #{itemId}
|
|
|
+ and t1.itemId = #{itemId}
|
|
|
</if>
|
|
|
<if test="itemTitle != null and itemTitle != ''">
|
|
|
- and t1.item_title like concat(concat('%',#{itemTitle}),'%')
|
|
|
+ and t1.itemTitle like concat(concat('%',#{itemTitle}),'%')
|
|
|
</if>
|
|
|
<if test="userId != null and userId != ''">
|
|
|
and t1.userId = #{userId}
|