| | |
| | | @Autowired |
| | | private AllocationMapper allocationMapper; |
| | | @Autowired |
| | | private ApproveTableMapper approveTableMapper; |
| | | @Autowired |
| | | private SysAreaService sysAreaService; |
| | | private ApproveTableService approveTableService; |
| | | @Autowired |
| | |
| | | int complete=0; |
| | | int unComplete=0; |
| | | for (Allocation allocation : allocations) { |
| | | String state = allocation.getState(); |
| | | String state = allocation.getState()+""; |
| | | if (state.equals("40")||state.equals("50")){ |
| | | complete++; |
| | | }else if(state.equals("10")||state.equals("20") ||state.equals("30")) { |
| | |
| | | |
| | | Date dateOfDay = DateUtils.getDateOfDay(allocation.getEscalationTime(), allocation.getChangeDay()); |
| | | Date date = new Date(); |
| | | String state = allocation.getState(); |
| | | String state = allocation.getState()+""; |
| | | boolean timeBefor = DateUtils.isTimeBefor(date, dateOfDay); |
| | | if (timeBefor && !state.equals("40") && !state.equals("50")){ |
| | | //逾期次数 |