修改撤销天数差使用date类型计算得出
This commit is contained in:
parent
9e6c409497
commit
28bbd1fe19
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user