|
@@ -181,6 +181,9 @@
|
|
<if test="todoVO!=null and todoVO.endDate!=null and todoVO.endDate!=''">
|
|
<if test="todoVO!=null and todoVO.endDate!=null and todoVO.endDate!=''">
|
|
and m.created <= #{todoVO.endDate}
|
|
and m.created <= #{todoVO.endDate}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="todoVO != null and todoVO.getNodeIsBookbindingStamp">
|
|
|
|
+ AND (wfni.code = 'STATEMENT_BOOKBINDING_STAMP' OR wfni.code = 'REPORT_BOOKBINDING_STAMP' OR wfni.code = 'LETTER_BOOKBINDING_STAMP')
|
|
|
|
+ </if>
|
|
ORDER BY wtr.created DESC
|
|
ORDER BY wtr.created DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -363,6 +366,9 @@
|
|
<if test="personal!=null and personal.handlerName!=null and personal.handlerName!='' ">
|
|
<if test="personal!=null and personal.handlerName!=null and personal.handlerName!='' ">
|
|
and u.name like concat('%',#{personal.handlerName},'%')
|
|
and u.name like concat('%',#{personal.handlerName},'%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="personal != null and personal.getNodeIsBookbindingStamp">
|
|
|
|
+ AND (wfni.code = 'STATEMENT_BOOKBINDING_STAMP' OR wfni.code = 'REPORT_BOOKBINDING_STAMP' OR wfni.code = 'LETTER_BOOKBINDING_STAMP')
|
|
|
|
+ </if>
|
|
order by wfni.created DESC
|
|
order by wfni.created DESC
|
|
</select>
|
|
</select>
|
|
|
|
|