|
|
@@ -316,6 +316,9 @@
|
|
|
<if test="record.imageName != null and !"".equals(record.imageName)">
|
|
|
and image_name = #{record.imageName}
|
|
|
</if>
|
|
|
+ <if test="record.unFinished != null and !"".equals(record.unFinished)">
|
|
|
+ and (finished_image is null or finished_image = '')
|
|
|
+ </if>
|
|
|
<if test="record.searchKey != null and !"".equals(record.searchKey)">
|
|
|
<trim prefix="and (" suffix=")" prefixOverrides="OR">
|
|
|
OR order_id LIKE concat('%',#{record.searchKey},'%')
|
|
|
@@ -440,6 +443,9 @@
|
|
|
<if test="imageName != null and !"".equals(imageName)">
|
|
|
and image_name = #{imageName}
|
|
|
</if>
|
|
|
+ <if test="unFinished != null and !"".equals(unFinished)">
|
|
|
+ and (finished_image is null or finished_image = '')
|
|
|
+ </if>
|
|
|
<if test="searchKey != null and !"".equals(searchKey)">
|
|
|
<trim prefix="and (" suffix=")" prefixOverrides="OR">
|
|
|
OR order_id LIKE concat('%',#{searchKey},'%')
|