认领通知日期精度
This commit is contained in:
		
							parent
							
								
									0f6a4bbd77
								
							
						
					
					
						commit
						bf81981fb5
					
				|  | @ -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); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue