审核无法使用已撤回条件查询
This commit is contained in:
parent
72d7e97069
commit
200b1601aa
|
|
@ -16,14 +16,18 @@
|
||||||
and bmp.start_time between #{startDate} and #{endDate}
|
and bmp.start_time between #{startDate} and #{endDate}
|
||||||
</if>
|
</if>
|
||||||
<if test="auditStatus != null and auditStatus != ''">
|
<if test="auditStatus != null and auditStatus != ''">
|
||||||
|
|
||||||
<if test="auditStatus == 3 or auditStatus == '3'">
|
<if test="auditStatus == 3 or auditStatus == '3'">
|
||||||
and apc.audit_status ='0' and apc.audit_status !='5'
|
and apc.audit_status ='0' and apc.audit_status !='5'
|
||||||
</if>
|
</if>
|
||||||
<if test="auditStatus != 3 and auditStatus != '3'">
|
<if test="auditStatus != 3 and auditStatus != '3'">
|
||||||
and apc.audit_status = #{auditStatus} and apc.audit_status !='5'
|
<if test="auditStatus != 5 and auditStatus != '5'">
|
||||||
</if>
|
and apc.audit_status = #{auditStatus} and apc.audit_status !='5'
|
||||||
|
</if>
|
||||||
|
|
||||||
|
</if>
|
||||||
|
<if test="auditStatus == 5 || auditStatus == '5'">
|
||||||
|
and apc.audit_status = #{auditStatus}
|
||||||
|
</if>
|
||||||
</if>
|
</if>
|
||||||
<!-- order by cq.id,ap.create_time desc-->
|
<!-- order by cq.id,ap.create_time desc-->
|
||||||
ORDER BY apc.id desc
|
ORDER BY apc.id desc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue