业务收款认领通知 仅发送N-1,包含N-1
This commit is contained in:
		
							parent
							
								
									cdef70a598
								
							
						
					
					
						commit
						6d15fc7191
					
				|  | @ -29,6 +29,7 @@ import java.util.Map; | |||
| public class UnclaimedNoticeTask extends AbstractTask implements Plugin { | ||||
| 
 | ||||
|     private static final String entityName = "cas_claimannounce";//认领中心-公告 | ||||
|     //select * from t_cas_claimnoticebill where fbusinesstype='rec' and fclaimstatus='0' | ||||
| 
 | ||||
|     private static final Log logger = LogFactory.getLog(UnclaimedNoticeTask.class); | ||||
| 
 | ||||
|  | @ -42,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_than, new SimpleDateFormat("yyyy-MM-dd").parse(yesterdayStr));//截至到昨天之前的 | ||||
|             qFilter.and("createtime", QCP.less_equals, new SimpleDateFormat("yyyy-MM-dd").parse(yesterdayStr));//截至到昨天之前的 | ||||
|         } catch (ParseException e) { | ||||
|             logger.info("日期格式化异常"+e.getMessage()); | ||||
|             throw new RuntimeException(e); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue