| | |
| | | } |
| | | |
| | | /** |
| | | *首页公司级 本月三保完成数量 |
| | | * qsw 2024-3-14 |
| | | */ |
| | | @GetMapping("getFactoryThisMonthMaintenanceFinishList") |
| | | public Result<?> getFactoryThisMonthMaintenanceFinishList() { |
| | | List<Map<String, Object>> list = calibrationOrderService.getFactoryThisMonthMaintenanceFinishList(); |
| | | return Result.ok(list); |
| | | } |
| | | |
| | | /** |
| | | *首页公司级 下下月三保计划 |
| | | * qsw 2024-3-14 |
| | | */ |
| | |
| | | return Result.ok(list); |
| | | } |
| | | |
| | | |
| | | /** |
| | | *首页技术状态数量统计 |
| | | *首页(二级页面)技术状态数量统计 |
| | | * qsw 2024-3-13 |
| | | */ |
| | | @GetMapping("getEquipmentTechnologyStatusList") |
| | |
| | | } |
| | | |
| | | /** |
| | | *首页设备报修情况统计 |
| | | *首页(二级页面)设备报修情况统计 |
| | | * qsw 2024-3-13 |
| | | */ |
| | | @GetMapping("getReportRepairEquipmentList") |
| | |
| | | } |
| | | |
| | | /** |
| | | *首页本月三保计划 |
| | | *首页(二级页面)本月三保计划 |
| | | * qsw 2024-3-14 |
| | | */ |
| | | @GetMapping("getThisMonthMaintenanceList") |
| | |
| | | } |
| | | |
| | | /** |
| | | *首页下月三保计划 |
| | | *首页(二级页面)下月三保计划 |
| | | * qsw 2024-3-14 |
| | | */ |
| | | @GetMapping("getNextMonthMaintenanceList") |
| | |
| | | } |
| | | |
| | | /** |
| | | *首页下下月三保计划 |
| | | *首页(二级页面)下下月三保计划 |
| | | * qsw 2024-3-14 |
| | | */ |
| | | @GetMapping("getNextNextMonthMaintenanceList") |
| | |
| | | return Result.ok(list); |
| | | } |
| | | |
| | | /** |
| | | *首页(二级页面)本月三保完成数量 |
| | | * qsw 2024-3-14 |
| | | */ |
| | | @GetMapping("getThisMonthMaintenanceFinishList") |
| | | public Result<?> getThisMonthMaintenanceFinishList(@Param("factoryNum") String factoryNum) { |
| | | List<Area> areaList = areaService.lambdaQuery().eq(Area::getNum, factoryNum).eq(Area::getDelFlag, 0).list(); |
| | | List<Map<String, Object>> list; |
| | | if(areaList.size()>0){ |
| | | list = calibrationOrderService.getThisMonthMaintenanceFinishList(areaList.get(0).getId()); |
| | | }else{ |
| | | list = null; |
| | | } |
| | | return Result.ok(list); |
| | | } |
| | | |
| | | } |