搜索条件添加
This commit is contained in:
@ -127,6 +127,18 @@
|
||||
where 1= 1
|
||||
|
||||
|
||||
|
||||
<if test="qo.delayFlag != null and qo.delayFlag != 0">
|
||||
<if test="qo.delayFlag==1">
|
||||
and (date(deadline ) <![CDATA[<]]> date(finishedDate ) or( finishedDate is null and date(deadline) <![CDATA[<]]> date(now())))
|
||||
</if>
|
||||
<if test="qo.delayFlag==2">
|
||||
and (date(deadline ) <![CDATA[>=]]> date(finishedDate ) or( finishedDate is null and date(deadline) <![CDATA[>=]]> date(now())))
|
||||
</if>
|
||||
</if>
|
||||
|
||||
|
||||
|
||||
<if test="qo.id != null and qo.id != 0">
|
||||
and s.id = #{qo.id}
|
||||
</if>
|
||||
|
Reference in New Issue
Block a user