From 7b3bc43b5d3fb7cbceaba86b3400ddb596a2452e Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 20 Mar 2020 14:44:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=9A=E5=8A=A1=E6=92=A4?= =?UTF-8?q?=E9=94=80=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= 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 b3146f98d..159f04f6f 100644 --- a/src_core/com/tenwa/comm/message/controller/BusinessCancelJob.java +++ b/src_core/com/tenwa/comm/message/controller/BusinessCancelJob.java @@ -77,7 +77,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 CURDATE()-end_date>"+overDate; + " and DATEDIFF(CURDATE(),end_date) >"+overDate; ds = DataOperatorUtil.getDataBySql(tx, sql, null); if(ds.size()>0){ return ds;