|
@@ -215,7 +215,15 @@
|
|
|
original_size= #{originalSize,jdbcType=DECIMAL},
|
|
original_size= #{originalSize,jdbcType=DECIMAL},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="finishedImage != null">
|
|
<if test="finishedImage != null">
|
|
|
- finished_image= #{finishedImage,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <choose>
|
|
|
|
|
+ <when test="'null'.toString()==finishedImage">
|
|
|
|
|
+ finished_image = null,
|
|
|
|
|
+ </when>
|
|
|
|
|
+ <otherwise>
|
|
|
|
|
+ finished_image= #{finishedImage,jdbcType=VARCHAR},
|
|
|
|
|
+ </otherwise>
|
|
|
|
|
+ </choose>
|
|
|
|
|
+
|
|
|
</if>
|
|
</if>
|
|
|
<if test="finishedSize != null">
|
|
<if test="finishedSize != null">
|
|
|
finished_size= #{finishedSize,jdbcType=DECIMAL},
|
|
finished_size= #{finishedSize,jdbcType=DECIMAL},
|
|
@@ -318,10 +326,10 @@
|
|
|
</if>
|
|
</if>
|
|
|
<if test="record.unFinished != null and !"".equals(record.unFinished)">
|
|
<if test="record.unFinished != null and !"".equals(record.unFinished)">
|
|
|
<if test="'1'.toString()==record.unFinished">
|
|
<if test="'1'.toString()==record.unFinished">
|
|
|
- and (finished_image is null or finished_image = '')
|
|
|
|
|
|
|
+ and (finished_image is null or finished_image = '')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="'0'.toString()==record.unFinished">
|
|
<if test="'0'.toString()==record.unFinished">
|
|
|
- and (finished_image is not null and finished_image != '')
|
|
|
|
|
|
|
+ and (finished_image is not null and finished_image != '')
|
|
|
</if>
|
|
</if>
|
|
|
</if>
|
|
</if>
|
|
|
<if test="record.searchKey != null and !"".equals(record.searchKey)">
|
|
<if test="record.searchKey != null and !"".equals(record.searchKey)">
|
|
@@ -450,10 +458,10 @@
|
|
|
</if>
|
|
</if>
|
|
|
<if test="unFinished != null and !"".equals(unFinished)">
|
|
<if test="unFinished != null and !"".equals(unFinished)">
|
|
|
<if test="'1'.toString()==unFinished">
|
|
<if test="'1'.toString()==unFinished">
|
|
|
- and (finished_image is null or finished_image = '')
|
|
|
|
|
|
|
+ and (finished_image is null or finished_image = '')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="'0'.toString()==unFinished">
|
|
<if test="'0'.toString()==unFinished">
|
|
|
- and (finished_image is not null and finished_image != '')
|
|
|
|
|
|
|
+ and (finished_image is not null and finished_image != '')
|
|
|
</if>
|
|
</if>
|
|
|
</if>
|
|
</if>
|
|
|
<if test="searchKey != null and !"".equals(searchKey)">
|
|
<if test="searchKey != null and !"".equals(searchKey)">
|