From 28bbd1fe198e6457299263c49c42da3c9902736f Mon Sep 17 00:00:00 2001 From: jianghongdong Date: Tue, 14 Aug 2018 20:22:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=92=A4=E9=94=80=E5=A4=A9?= =?UTF-8?q?=E6=95=B0=E5=B7=AE=E4=BD=BF=E7=94=A8date=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=BE=97=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tenwa/comm/message/controller/BusinessCancelJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_core/com/tenwa/comm/message/controller/BusinessCancelJob.java b/src_core/com/tenwa/comm/message/controller/BusinessCancelJob.java index d0b62f664..040423e0e 100644 --- a/src_core/com/tenwa/comm/message/controller/BusinessCancelJob.java +++ b/src_core/com/tenwa/comm/message/controller/BusinessCancelJob.java @@ -73,7 +73,7 @@ public class BusinessCancelJob implements Job { String sql="select ID from lb_project_info O where O.project_status='13'"+ " and not EXISTS (select 1 from flow_bussiness_object fbo where fbo.proj_id=O.id and fbo.flow_name='合同制作流程')"+ " and not EXISTS (select 1 from lb_contract_info_temp lci where lci.project_id=O.id)"+ - " and TO_DAYS(SYSDATE())-TO_DAYS(O.end_date)>"+overDate; + " and CURDATE()-end_date>"+overDate; ds = DataOperatorUtil.getDataBySql(tx, sql, null); if(ds.size()>0){ return ds;