认领通知日期精度

This commit is contained in:
yuxueliang0813 2025-07-31 11:14:13 +08:00
parent 0f6a4bbd77
commit bf81981fb5
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class UnclaimedNoticeTask extends AbstractTask implements Plugin {
QFilter qFilter = new QFilter("businesstype", QCP.equals, "rec");//业务类型-收款
qFilter.and("claimstatus", QCP.equals, "0");//认领通知单状态-待认领
try {
qFilter.and("createtime", QCP.less_equals, new SimpleDateFormat("yyyy-MM-dd").parse(yesterdayStr));//截至到昨天之前的
qFilter.and("createtime", QCP.less_equals, new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").parse(yesterdayStr+" 23:59:59"));//截至到昨天之前的
} catch (ParseException e) {
logger.info("日期格式化异常"+e.getMessage());
throw new RuntimeException(e);