|
@@ -382,6 +382,9 @@
|
|
<if test="personal != null and personal.getNodeIsBookbindingStamp">
|
|
<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')
|
|
AND (wfni.code = 'STATEMENT_BOOKBINDING_STAMP' OR wfni.code = 'REPORT_BOOKBINDING_STAMP' OR wfni.code = 'LETTER_BOOKBINDING_STAMP')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="personal!=null and personal.nodeCode!=null and personal.nodeCode!=''">
|
|
|
|
+ and wfni.code = #{personal.nodeCode}
|
|
|
|
+ </if>
|
|
order by wfni.modified DESC
|
|
order by wfni.modified DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -774,6 +777,9 @@
|
|
<if test="nodeCode!=null and nodeCode!=''">
|
|
<if test="nodeCode!=null and nodeCode!=''">
|
|
and wfni.code = #{nodeCode}
|
|
and wfni.code = #{nodeCode}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="clientName!=null and clientName!=''">
|
|
|
|
+ and cc.name like concat('%',#{clientName},'%')
|
|
|
|
+ </if>
|
|
order by wfni.modified DESC
|
|
order by wfni.modified DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -855,6 +861,9 @@
|
|
<if test="nodeCode!=null and nodeCode!=''">
|
|
<if test="nodeCode!=null and nodeCode!=''">
|
|
and wfni.code = #{nodeCode}
|
|
and wfni.code = #{nodeCode}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="clientName!=null and clientName!=''">
|
|
|
|
+ and cc.name like concat('%',#{clientName},'%')
|
|
|
|
+ </if>
|
|
order by wfni.modified DESC
|
|
order by wfni.modified DESC
|
|
</select>
|
|
</select>
|
|
</mapper>
|
|
</mapper>
|