修改业务撤销定时任务判断条件

This commit is contained in:
tangfutang 2020-03-20 14:44:33 +08:00
parent 54fda51084
commit 7b3bc43b5d

View File

@ -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;