|
@@ -312,17 +312,11 @@
|
|
|
|
|
|
${ew.customSqlSegment}
|
|
|
and cw_prnl.report_number is not null and cw_prnl.report_date is not null
|
|
|
- <if test="sta == '超期未归档'">
|
|
|
- and cw_pa.audit_date is null and timestampdiff(day,cw_prnl.report_date,now())>60
|
|
|
- </if>
|
|
|
- <if test="sta == '暂时未归档'">
|
|
|
- and cw_pa.audit_date is null and timestampdiff(day,cw_prnl.report_date,now()) <= 60
|
|
|
+ <if test="sta == '-2'">
|
|
|
+ and cw_pa.audit_date is null
|
|
|
</if>
|
|
|
- <if test="sta == '已超期归档'">
|
|
|
- and cw_pa.audit_date is not null and timestampdiff(day,cw_prnl.report_date,cw_pa.audit_date)>60
|
|
|
- </if>
|
|
|
- <if test="sta == '已按时归档'">
|
|
|
- and cw_pa.audit_date is not null and timestampdiff(day,cw_prnl.report_date,cw_pa.audit_date) <= 60
|
|
|
+ <if test="sta == '-1'">
|
|
|
+ and cw_pa.audit_date is not null
|
|
|
</if>
|
|
|
ORDER BY cw_pa.create_time DESC
|
|
|
</select>
|