|
@@ -32,7 +32,20 @@ public class MouldHistoryServiceImpl extends ServiceImpl<MouldHistoryMapper, Mou
|
|
|
@Override
|
|
|
public HttpRespMsg getOpeningAndClosingTimesChart(String equipmentNo, String time) {
|
|
|
HttpRespMsg msg = new HttpRespMsg();
|
|
|
+ Map <String,Integer> map = new HashMap<>();
|
|
|
+ map.put("00:00-01:00",0);
|
|
|
+ map.put("01:00-02:00",0);
|
|
|
+ map.put("02:00-03:00",0);
|
|
|
+ map.put("03:00-04:00",0);
|
|
|
+ map.put("0:00-01:00",0);
|
|
|
+ map.put("00:00-01:00",0);
|
|
|
+ map.put("00:00-01:00",0);
|
|
|
List<MouldHistoryVO> list = mouldHistoryMapper.selectOpeningAndClosingTimesChart(equipmentNo,time);
|
|
|
+ list.stream().forEach(x ->{
|
|
|
+ if(Integer.parseInt(x.getTime()) <= 2){
|
|
|
+
|
|
|
+ }
|
|
|
+ });
|
|
|
msg.data=list;
|
|
|
return msg;
|
|
|
}
|