| | |
| | | calendar.set(Calendar.MILLISECOND, 0); |
| | | calendar.set(Calendar.SECOND, 0); |
| | | calendar.set(Calendar.MINUTE, 0); |
| | | |
| | | if (!CollectionUtils.isEmpty(powerFactorReqVO.getContentList())) { |
| | | |
| | | } |
| | | MdkScheduleReqDTO dto = new MdkScheduleReqDTO(); |
| | | dto.setScheduleTime(calendar.getTime()); |
| | | dto.setScheduleCode("AnsteelOffPowerAC"); |
| | |
| | | adjustCosList.add(back_wugong_buchang); |
| | | |
| | | Map<Integer, BigDecimal> adjustCosMap = new HashMap<>(); |
| | | for (int i = 1; i <= adjustCosList.size(); i++) { |
| | | for (int i = 0; i < adjustCosList.size(); i++) { |
| | | adjustCosMap.put(i, adjustCosList.get(i)); |
| | | } |
| | | |
| | |
| | | return success(result); |
| | | } |
| | | |
| | | for (int i = 1; i <= list.size(); i++) { |
| | | for (int i = 0; i < list.size(); i++) { |
| | | PowerFactorControlEntity entity = list.get(i); |
| | | PowerFactorControlDTO controlDTO = new PowerFactorControlDTO(); |
| | | controlDTO.setName(entity.getName()); |