|
|
@@ -317,7 +317,12 @@
|
|
|
and image_name = #{record.imageName}
|
|
|
</if>
|
|
|
<if test="record.unFinished != null and !"".equals(record.unFinished)">
|
|
|
- and (finished_image is null or finished_image = '')
|
|
|
+ <if test="'1'.toString()==record.unFinished">
|
|
|
+ and (finished_image is null or finished_image = '')
|
|
|
+ </if>
|
|
|
+ <if test="'0'.toString()==record.unFinished">
|
|
|
+ and (finished_image is not null and finished_image != '')
|
|
|
+ </if>
|
|
|
</if>
|
|
|
<if test="record.searchKey != null and !"".equals(record.searchKey)">
|
|
|
<trim prefix="and (" suffix=")" prefixOverrides="OR">
|
|
|
@@ -444,7 +449,12 @@
|
|
|
and image_name = #{imageName}
|
|
|
</if>
|
|
|
<if test="unFinished != null and !"".equals(unFinished)">
|
|
|
- and (finished_image is null or finished_image = '')
|
|
|
+ <if test="'1'.toString()==unFinished">
|
|
|
+ and (finished_image is null or finished_image = '')
|
|
|
+ </if>
|
|
|
+ <if test="'0'.toString()==unFinished">
|
|
|
+ and (finished_image is not null and finished_image != '')
|
|
|
+ </if>
|
|
|
</if>
|
|
|
<if test="searchKey != null and !"".equals(searchKey)">
|
|
|
<trim prefix="and (" suffix=")" prefixOverrides="OR">
|