|
|
@ -61,12 +61,6 @@ public class ScreenProjectDataServiceImpl extends BaseServiceImpl<ScreenProjectD |
|
|
|
|
|
|
|
@Resource |
|
|
|
private ScreenProjectImgDataDao screenProjectImgDataDao; |
|
|
|
@Resource |
|
|
|
private ScreenCustomerAgencyDao agencyDao; |
|
|
|
@Resource |
|
|
|
private ScreenCustomerDeptDao deptDao; |
|
|
|
@Resource |
|
|
|
private ScreenCustomerGridDao gridDao; |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageData<ScreenProjectDataDTO> page(Map<String, Object> params) { |
|
|
@ -141,7 +135,7 @@ public class ScreenProjectDataServiceImpl extends BaseServiceImpl<ScreenProjectD |
|
|
|
//如果结案 结案时间立项时间;
|
|
|
|
if ("closed_case".equals(projectStatusCode)) { |
|
|
|
try { |
|
|
|
Date createTime = sdf.parse(item.getProjectCreateTime()); |
|
|
|
Date createTime = item.getProjectCreateTime(); |
|
|
|
Date closeCaseTime = sdf.parse(item.getCloseCaseTime()); |
|
|
|
|
|
|
|
if (closeCaseTime.getTime() - createTime.getTime() <= 1000 * 60 * 60 * 24 * 4) { |
|
|
@ -159,8 +153,7 @@ public class ScreenProjectDataServiceImpl extends BaseServiceImpl<ScreenProjectD |
|
|
|
} |
|
|
|
} else if ("pending".equals(projectStatusCode)) { |
|
|
|
//如果处理中 当前时间-立项时间;
|
|
|
|
try { |
|
|
|
Date createTime = sdf.parse(item.getProjectCreateTime()); |
|
|
|
Date createTime = item.getProjectCreateTime(); |
|
|
|
|
|
|
|
if (today.getTime() - createTime.getTime() <= 1000 * 60 * 60 * 24 * 4) { |
|
|
|
//如果当前时间-立项时间小于等于4天 未超期 level3
|
|
|
@ -172,9 +165,6 @@ public class ScreenProjectDataServiceImpl extends BaseServiceImpl<ScreenProjectD |
|
|
|
//大于5天 已超期 level1
|
|
|
|
item.setProjectLevel(1); |
|
|
|
} |
|
|
|
} catch (ParseException e) { |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//先删除该projectId对应的旧数据
|
|
|
|