| | |
| | | return equipmentWorkLineMapper.getEquipProgramNum(drivetype + "_" + equipmentid, startTime, endTime); |
| | | } |
| | | |
| | | @Override |
| | | public MdcEquipmentDto findProductCountStartTime(String saveTableName, String productCount) { |
| | | try { |
| | | List<MdcEquipmentDto> macingDataList = equipmentWorkLineMapper.findProductCountStartTime(saveTableName, productCount); |
| | | return !macingDataList.isEmpty() ? macingDataList.get(0) : null; |
| | | } catch (Exception e) { |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | private List<EquipmentMachingDto> convertData(List<Map<String, Object>> list) { |
| | | SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); |
| | | List<EquipmentMachingDto> dto = new ArrayList<>(); |