选煤厂生产管理平台后台代码
c3a5919948da2ff07c9b8f206b09ae2f8b59b189..3f07ab2e03e501ae55d1d1b0d031daf50c8e13e5
2024-12-10 dongyukun
common依赖排除父类
3f07ab 对比 | 目录
2024-12-10 dongyukun
common依赖版本去除快照
b643c1 对比 | 目录
2024-12-10 dongyukun
生产调度
532d0b 对比 | 目录
2024-12-10 Jay
煤质部分后端代码
7e21bc 对比 | 目录
已修改4个文件
已删除86个文件
已重命名1个文件
已复制4个文件
已添加190个文件
11862 ■■■■ 文件已修改
iailab-xmc-pms-biz/lib/bak-202309/coalBlendModel20230926.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202309/javabuilder.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202309/readme.md 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202309/washabilityCurve20230915.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202312/20231225washabilityCurve说明.docx 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202312/coalBlendModel20231225.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202312/washabilityCurve20231225.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202404/coalBlendModel20240424.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202404/coalBlendModel20240425.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202404/coalBlendModel20240427.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202405/coalBlendModel20240514.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/javabuilder.jar 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/readme.md 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/pom.xml 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/OAuth2Client.java 157 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/UserClient.java 74 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/oauth2/OAuth2AccessTokenRespDTO.java 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/oauth2/OAuth2CheckTokenRespDTO.java 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/user/UserInfoRespDTO.java 97 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/user/UserUpdateReqDTO.java 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/common/enums/BcEnums.java 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/common/enums/FcfaType.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalAnalysisFullController.java 80 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalAnalysisFullDetController.java 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesChartController.java 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesController.java 91 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesDetController.java 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/package-info.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalAnalysisFullDao.java 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalAnalysisFullDetDao.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalWashCurvesChartDao.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalWashCurvesDao.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalWashCurvesDetDao.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/ExcelImportDao.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalAnalysisFullDTO.java 97 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalAnalysisFullDetDTO.java 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalWashCurvesChartDTO.java 81 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalWashCurvesDTO.java 88 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalWashCurvesDetDTO.java 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalAnalysisFullDetEntity.java 83 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalAnalysisFullEntity.java 118 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalWashCurvesChartEntity.java 105 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalWashCurvesDetEntity.java 84 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalWashCurvesEntity.java 95 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalAnalysisFullDetService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalAnalysisFullService.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalWashCurvesChartService.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalWashCurvesDetService.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalWashCurvesService.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalAnalysisFullDetServiceImpl.java 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalAnalysisFullServiceImpl.java 115 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalWashCurvesChartServiceImpl.java 168 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalWashCurvesDetServiceImpl.java 76 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalWashCurvesServiceImpl.java 151 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/vo/FullPageReqVO.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/vo/WashCurvesPageReqVO.java 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityDetectionController.java 85 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityMediumController.java 83 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickController.java 74 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickItemController.java 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityTailingController.java 79 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/package-info.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityDetectionDao.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityExcelImportDao.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityMediumDao.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityQuickDao.java 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityQuickItemDao.java 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityTailingDao.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityDetectionDTO.java 132 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityMediumDTO.java 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQueryDTO.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickDTO.java 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickItemDTO.java 86 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityTailingDTO.java 75 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityDetectionEntity.java 157 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityMediumEntity.java 70 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityQuickEntity.java 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityQuickItemEntity.java 76 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityTailingEntity.java 90 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityDetectionService.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityMediumService.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityQuickItemService.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityQuickService.java 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityTailingService.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityDetectionServiceImpl.java 97 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityMediumServiceImpl.java 90 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityQuickItemServiceImpl.java 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityQuickServiceImpl.java 99 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityTailingServiceImpl.java 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/DetectionPageReqVO.java 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/MediumPageReqVO.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/QuickPageReqVO.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/TailingPageReqVO.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/controller/admin/QualityWashTargetController.java 81 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/controller/package-info.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/dao/QualityWashTargetDao.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/dto/QualityWashTargetDTO.java 106 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/entity/QualityWashTargetEntity.java 124 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/service/QualityWashTargetService.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/service/impl/QualityWashTargetServiceImpl.java 78 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/vo/WashTargetPageReqVO.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/config/SystemDBInitConfiguration.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/auth/AuthController.java 65 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/DemoController.java 90 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/vo/DemoPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/vo/DemoRespVO.java 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/vo/DemoSaveReqVO.java 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/package-info.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/app/ip/AppAreaController.java 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/app/ip/vo/AppAreaNodeRespVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/app/package-info.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/dataobject/demo/DemoDO.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/dataobject/package-info.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/mysql/demo/DemoMapper.java 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/mysql/package-info.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/captcha/config/IailabCaptchaConfiguration.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/captcha/core/RedisCaptchaServiceImpl.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/captcha/package-info.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/security/config/SecurityConfiguration.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/config/ScheduleConfig.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/controller/admin/ScheduleJobController.java 117 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/controller/admin/ScheduleJobLogController.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/controller/package-info.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dao/ScheduleJobDao.java 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dao/ScheduleJobLogDao.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dto/ScheduleJobDTO.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dto/ScheduleJobLogDTO.java 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/entity/ScheduleJobEntity.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/entity/ScheduleJobLogEntity.java 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/init/JobCommandLineRunner.java 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/ScheduleJobLogService.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/ScheduleJobService.java 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/impl/ScheduleJobLogServiceImpl.java 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/impl/ScheduleJobServiceImpl.java 128 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/task/ITask.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/task/TestTask.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/utils/ScheduleJob.java 80 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/utils/ScheduleUtils.java 153 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/vo/ScheduleJobReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/controller/admin/RunTimeController.java 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/controller/package-info.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/dao/RunTimeDao.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/entity/RunTimeEntity.java 112 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/service/RunTimeService.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/service/impl/RunTimeServiceImpl.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/vo/RunTimePageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/controller/admin/SaleVolumeController.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/controller/package-info.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/dao/SaleVolumeDao.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/dto/SalesVolumeDto.java 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/entity/SaleVolumeEntity.java 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/service/SaleVolumeService.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/service/impl/SaleVolumeServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/vo/SaleVolumePageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/McMzController.java 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/WarehouseItemController.java 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/WarehousePositionController.java 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/WarehouseStockController.java 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/package-info.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/McMzDao.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/WarehouseItemDao.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/WarehousePositionDao.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/WarehouseStockDao.java 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/McMzEntity.java 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/WarehouseItemEntity.java 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/WarehousePositionEntity.java 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/WarehouseStockEntity.java 198 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/McMzService.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/WarehouseItemService.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/WarehousePositionService.java 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/WarehouseStockService.java 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/McMzServiceImpl.java 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/WarehouseItemServiceImpl.java 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/WarehousePositionServiceImpl.java 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/WarehouseStockServiceImpl.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/McMzPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/WarehouseItemPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/WarehousePositionPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/WarehouseStockPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/HourVolumeController.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/ProdVolumeController.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/ToWashController.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/TransferInController.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/WashPlanController.java 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/package-info.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/HourVolumeDao.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/ProdVolumeDao.java 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/ToWashDao.java 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/ToWashDetDao.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/TransferInDao.java 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/WashPlanDao.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/WashPlanDetDao.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/HourVolumeEntity.java 116 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/ProdVolumeEntity.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/ToWashDetEntity.java 74 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/ToWashEntity.java 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/TransferInEntity.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/WashPlanDetEntity.java 99 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/WashPlanEntity.java 131 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/HourVolumeService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/ProdVolumeService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/ToWashDetService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/ToWashService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/TransferInService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/WashPlanDetService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/WashPlanService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/HourVolumeServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/ProdVolumeServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/ToWashDetServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/ToWashServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/TransferInServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/WashPlanDetServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/WashPlanServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/HourVolumePageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/ProdVolumePageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/ToWashDetPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/ToWashPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/TransferInPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/WashPlanDetPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/WashPlanPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/admin/DispatchLogController.java 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/admin/DutyInfoController.java 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/admin/ProdAccidentController.java 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/package-info.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/DispatchLogDao.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/DutyInfoDao.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/ProdAccidentDao.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/enity/DispatchLogEntity.java 81 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/enity/DutyInfoEntity.java 116 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/enity/ProdAccidentEntity.java 108 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/DispatchLogService.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/DutyInfoService.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/ProdAccidentService.java 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/impl/DispatchLogServiceImpl.java 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/impl/DutyInfoServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/impl/ProdAccidentServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/vo/DispatchLogPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/vo/DutyInfoPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/vo/ProdAccidentPageReqVO.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/service/demo/DemoService.java 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/service/demo/DemoServiceImpl.java 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/service/package-info.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/util/SecurityUtils.java 103 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/util/oauth2/OAuth2Utils.java 103 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/util/package-info.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/application-dev.yaml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg1.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg2.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg3.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg4.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg5.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg6.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg7.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg8.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg9.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/1.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/10.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/11.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/12.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/13.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/14.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/15.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/16.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/17.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/18.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/19.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/8.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/9.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/2.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/3.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/4.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg1.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg10.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg2.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg3.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg4.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg5.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg6.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg7.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg8.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg9.png 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/mapper/hourVolume/HourVolumeDao.xml 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/mapper/job/ScheduleJobDao.xml 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/src/main/resources/mapper/job/ScheduleJobLogDao.xml 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-xmc-pms-biz/lib/bak-202309/coalBlendModel20230926.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202309/javabuilder.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202309/readme.md
对比新文件
@@ -0,0 +1,61 @@
# 配煤模型
```
        // 硫分 +1.8密度级没有 则与上一密度级保持一致。
        int[] input = {1,2};  //有N种煤参与,则为{1,N}  //20230926 coalblendmodel
        MWCellArray inputCompDataSrc1 = new MWCellArray(input);
        double[][] inputFSDataSrc1 = {//第一种煤的浮沉数据 综合数据
                {1.4 ,39.46,6.52,1.83},
                {1.8 ,20.67,27.16,1.71},
                {1.8 ,39.87,79.9,1.71}};
        double[][] inputFSDataSrc2 = {  //第二种煤的浮沉数据
                {1.4 ,77.42,3.33,2.44},
                {1.8 ,8.76,18.28,4},
                {1.8 ,13.82,76.4,4}};
        double[][] rawCoalParam = {{759},{1667}};//各个煤的价格 N种煤则为N行
        double[][] qualitySetDataSrc1 = {{0},{2} };  //目标硫分
        double[] cleanCoalAsh1AndPrice = {9,1900} ;  //精煤灰分及价格
        inputCompDataSrc1.set(1,inputFSDataSrc1);
        inputCompDataSrc1.set(2,inputFSDataSrc2);
        CoalBlendModel coalBlend = new CoalBlendModel();
        double[] xSet = {};  //编辑后计算,即用户手动设置的配煤量数据  若保存并计算则为空
        Object[] allResult = coalBlend.coalBlend(2,inputCompDataSrc1,rawCoalParam,qualitySetDataSrc1,cleanCoalAsh1AndPrice,xSet);
        MWCellArray result = (MWCellArray)allResult[0];
        double[][] result1 = (double [][])result.get(1);//各煤比例
        if (result1[0][0]<0){
            System.out.println("无方案");  //无方案输出全部置空
            return;
        }
        double[][] result2 = (double [][])result.get(2);
        double[] theoryYieldDensity = result2[0];//理论产率和分选密度 第一个为理论产率,第二个为理论分选密度
        MWCellArray temp = (MWCellArray)allResult[1];
        double[][] test1 = (double [][])temp.get(1);
        double[] effect = test1[0];//混煤预计效果 分别为硫分,水分,发热量,灰分
        double [][] test2 = (double [][])temp.get(2);
        double[] xAxis1 = test2[0];//若需要绘制混煤可选性曲线 的下横灰分坐标
        double [][] test3 = (double [][])temp.get(3);
        double[] xAxis2 = test3[0];//若需要绘制混煤可选性曲线 的上横密度坐标
        double [][] test4 = (double [][])temp.get(4);
        double[] floatVue = test4[0];//若需要绘制混煤可选性曲线 的浮物曲线数据
        double [][] test5 = (double [][])temp.get(5);
        double[] cellVue = test5[0];//若需要绘制混煤可选性曲线 的灰分特性曲线数据
        double [][] test6 = (double [][])temp.get(6);
        double[] sinkVue = test6[0];//若需要绘制混煤可选性曲线 的沉物曲线数据
        double [][] test7 = (double [][])temp.get(7);
        double[] denstiyDataResult = test7[0];//若需要绘制混煤可选性曲线 的密度曲线数据
        double [][] test8 = (double [][])temp.get(8);
        double[] denstiyScopeData = test8[0];//若需要绘制混煤可选性曲线 的密度±0.1曲
```
iailab-xmc-pms-biz/lib/bak-202309/washabilityCurve20230915.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202312/20231225washabilityCurve说明.docx
Binary files differ
iailab-xmc-pms-biz/lib/bak-202312/coalBlendModel20231225.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202312/washabilityCurve20231225.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202404/coalBlendModel20240424.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202404/coalBlendModel20240425.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202404/coalBlendModel20240427.jar
Binary files differ
iailab-xmc-pms-biz/lib/bak-202405/coalBlendModel20240514.jar
Binary files differ
iailab-xmc-pms-biz/lib/javabuilder.jar
Binary files differ
iailab-xmc-pms-biz/lib/readme.md
对比新文件
@@ -0,0 +1,61 @@
# 配煤模型
```
        // 硫分 +1.8密度级没有 则与上一密度级保持一致。
        int[] input = {1,2};  //有N种煤参与,则为{1,N}  //20230926 coalblendmodel
        MWCellArray inputCompDataSrc1 = new MWCellArray(input);
        double[][] inputFSDataSrc1 = {//第一种煤的浮沉数据 综合数据
                {1.4 ,39.46,6.52,1.83},
                {1.8 ,20.67,27.16,1.71},
                {1.8 ,39.87,79.9,1.71}};
        double[][] inputFSDataSrc2 = {  //第二种煤的浮沉数据
                {1.4 ,77.42,3.33,2.44},
                {1.8 ,8.76,18.28,4},
                {1.8 ,13.82,76.4,4}};
        double[][] rawCoalParam = {{759},{1667}};//各个煤的价格 N种煤则为N行
        double[][] qualitySetDataSrc1 = {{0},{2} };  //目标硫分
        double[] cleanCoalAsh1AndPrice = {9,1900} ;  //精煤灰分及价格
        inputCompDataSrc1.set(1,inputFSDataSrc1);
        inputCompDataSrc1.set(2,inputFSDataSrc2);
        CoalBlendModel coalBlend = new CoalBlendModel();
        double[] xSet = {};  //编辑后计算,即用户手动设置的配煤量数据  若保存并计算则为空
        Object[] allResult = coalBlend.coalBlend(2,inputCompDataSrc1,rawCoalParam,qualitySetDataSrc1,cleanCoalAsh1AndPrice,xSet);
        MWCellArray result = (MWCellArray)allResult[0];
        double[][] result1 = (double [][])result.get(1);//各煤比例
        if (result1[0][0]<0){
            System.out.println("无方案");  //无方案输出全部置空
            return;
        }
        double[][] result2 = (double [][])result.get(2);
        double[] theoryYieldDensity = result2[0];//理论产率和分选密度 第一个为理论产率,第二个为理论分选密度
        MWCellArray temp = (MWCellArray)allResult[1];
        double[][] test1 = (double [][])temp.get(1);
        double[] effect = test1[0];//混煤预计效果 分别为硫分,水分,发热量,灰分
        double [][] test2 = (double [][])temp.get(2);
        double[] xAxis1 = test2[0];//若需要绘制混煤可选性曲线 的下横灰分坐标
        double [][] test3 = (double [][])temp.get(3);
        double[] xAxis2 = test3[0];//若需要绘制混煤可选性曲线 的上横密度坐标
        double [][] test4 = (double [][])temp.get(4);
        double[] floatVue = test4[0];//若需要绘制混煤可选性曲线 的浮物曲线数据
        double [][] test5 = (double [][])temp.get(5);
        double[] cellVue = test5[0];//若需要绘制混煤可选性曲线 的灰分特性曲线数据
        double [][] test6 = (double [][])temp.get(6);
        double[] sinkVue = test6[0];//若需要绘制混煤可选性曲线 的沉物曲线数据
        double [][] test7 = (double [][])temp.get(7);
        double[] denstiyDataResult = test7[0];//若需要绘制混煤可选性曲线 的密度曲线数据
        double [][] test8 = (double [][])temp.get(8);
        double[] denstiyScopeData = test8[0];//若需要绘制混煤可选性曲线 的密度±0.1曲
```
iailab-xmc-pms-biz/pom.xml
@@ -111,6 +111,33 @@
            <version>2.3.2</version>
        </dependency>
        <!-- 可选性曲线模型 -->
        <dependency>
            <groupId>com.util</groupId>
            <artifactId>javabuilder</artifactId>
            <version>1.0</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/lib/javabuilder.jar</systemPath>
        </dependency>
        <dependency>
            <groupId>com.util</groupId>
            <artifactId>washabilityCurve</artifactId>
            <version>3.0</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/lib/bak-202309/washabilityCurve20230915.jar</systemPath>
        </dependency>
        <dependency>
            <groupId>com.iailab</groupId>
            <artifactId>iailab-iems-common</artifactId>
            <version>1.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.iailab</groupId>
                    <artifactId>iailab-iems</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>
    <build>
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java
@@ -2,12 +2,14 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
/**
 * 项目的启动类
 *
 * @author iailab
 */
@ComponentScan(basePackages = {"com.iailab.iems.common", "com.iailab.module.pms"})
@SpringBootApplication
public class XmcPmsServerApplication {
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/OAuth2Client.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/UserClient.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/oauth2/OAuth2AccessTokenRespDTO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/oauth2/OAuth2CheckTokenRespDTO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/user/UserInfoRespDTO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/client/dto/user/UserUpdateReqDTO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/common/enums/BcEnums.java
对比新文件
@@ -0,0 +1,32 @@
package com.iailab.module.pms.coalquality.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年12月15日 14:00:00
 */
@Getter
@AllArgsConstructor
public enum BcEnums {
    BB("bb", "白班"),
    YB("yb", "夜班");
    private String code;
    private String desc;
    public static BcEnums getEumByCode(String code) {
        if (code == null) {
            return null;
        }
        for (BcEnums statusEnum : BcEnums.values()) {
            if (statusEnum.getCode().equals(code)) {
                return statusEnum;
            }
        }
        return null;
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/common/enums/FcfaType.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.coalquality.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年09月15日 13:44:00
 */
@Getter
@AllArgsConstructor
public enum FcfaType {
    FULL("full", "全级"),
    THREE("three", "三级");
    private String code;
    private String desc;
    public static FcfaType getEumByCode(String code) {
        if (code == null) {
            return null;
        }
        for (FcfaType statusEnum : FcfaType.values()) {
            if (statusEnum.getCode().equals(code)) {
                return statusEnum;
            }
        }
        return null;
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalAnalysisFullController.java
对比新文件
@@ -0,0 +1,80 @@
package com.iailab.module.pms.coalquality.modules.analysis.controller.admin;
import com.iailab.framework.common.annotation.AutoDict;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDTO;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalAnalysisFullService;
import com.iailab.module.pms.coalquality.modules.analysis.vo.FullPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 22:22:00
 */
@RestController
@RequestMapping("/coal-quality/analysis/full")
@Tag(name ="全级浮沉实验台账")
public class CoalAnalysisFullController {
    @Autowired
    private CoalAnalysisFullService coalAnalysisFullService;
    @GetMapping("/page")
    @Operation(summary = "获取浮沉实验台账列表", description = "用于浮沉实验台账界面")
//    @PreAuthorize("@ss.hasPermission('data:ind-item:query')")
    public CommonResult<PageResult<CoalAnalysisFullDTO>> page(FullPageReqVO fullPageReqVO){
        PageResult<CoalAnalysisFullDTO> page = coalAnalysisFullService.page(fullPageReqVO);
        return success(page);
    }
    @GetMapping("/get")
    @Operation(summary = "信息")
    @AutoDict
    public CommonResult<CoalAnalysisFullDTO> get(String id){
        CoalAnalysisFullDTO data = coalAnalysisFullService.get(id);
        return success(data);
    }
    @PostMapping("/create")
    @Operation(summary = "保存")
    public CommonResult<Boolean> save(@RequestBody CoalAnalysisFullDTO dto){
        coalAnalysisFullService.save(dto);
        return success(true);
    }
    @PutMapping("/update")
    @Operation(summary = "修改")
    public CommonResult<Boolean> update(@RequestBody CoalAnalysisFullDTO dto){
        //效验数据
//        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
//
//        if (coalAnalysisFullService.cheack(dto) > 0) {
//            return new Result().error("编号重复");
//        }
        coalAnalysisFullService.update(dto);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    public  CommonResult<Boolean> delete(@RequestBody String[] ids){
        coalAnalysisFullService.delete(ids);
        return success(true);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalAnalysisFullDetController.java
对比新文件
@@ -0,0 +1,43 @@
package com.iailab.module.pms.coalquality.modules.analysis.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalAnalysisFullDetService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月15日 14:52:00
 */
@RestController
@RequestMapping("/analysis/full-det")
@Tag(name="全级浮沉实验数据")
public class CoalAnalysisFullDetController {
    @Autowired
    private CoalAnalysisFullDetService coalAnalysisFullDetService;
    @GetMapping("/list/{fullId}")
    @Operation(summary = "信息")
    public CommonResult<List<CoalAnalysisFullDetDTO>> list(@PathVariable("fullId") String fullId){
        Map<String, Object> parmas = new HashMap<>(1);
        parmas.put("fullId", fullId);
        List<CoalAnalysisFullDetDTO> data = coalAnalysisFullDetService.queryList(parmas);
        return success(data);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesChartController.java
对比新文件
@@ -0,0 +1,40 @@
package com.iailab.module.pms.coalquality.modules.analysis.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesChartDTO;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesChartService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月20日 09:56:00
 */
@RestController
@RequestMapping("/coal-quality/analysis/wash-curves-chart")
@Tag(name="可选性曲线图")
public class CoalWashCurvesChartController {
    @Autowired
    private CoalWashCurvesChartService coalWashCurvesChartService;
    @PostMapping("/draw")
    @Operation(summary="绘制")
    public CommonResult<CoalWashCurvesChartDTO> draw(@RequestBody CoalWashCurvesChartDTO dto) {
        CoalWashCurvesChartDTO data = coalWashCurvesChartService.draw(dto);
        return success(data);
    }
    @GetMapping("/get")
    @Operation(summary="信息")
    public CommonResult<CoalWashCurvesChartDTO> get(String curvesId){
        CoalWashCurvesChartDTO data = coalWashCurvesChartService.getByCurvesId(curvesId);
        return success(data);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesController.java
对比新文件
@@ -0,0 +1,91 @@
package com.iailab.module.pms.coalquality.modules.analysis.controller.admin;
import com.iailab.framework.common.annotation.AutoDict;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDTO;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesService;
import com.iailab.module.pms.coalquality.modules.analysis.vo.WashCurvesPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 16:25:00
 */
@RestController
@RequestMapping("/coal-quality/analysis/wash-curves")
@Tag(name="可选性曲线台账")
public class CoalWashCurvesController {
    @Autowired
    private CoalWashCurvesService coalWashCurvesService;
    @GetMapping("/page")
    @AutoDict
    public CommonResult<PageResult<CoalWashCurvesDTO>> page(WashCurvesPageReqVO washCurvesPageReqVO){
        PageResult<CoalWashCurvesDTO> page = coalWashCurvesService.page(washCurvesPageReqVO);
        return success(page);
    }
    @GetMapping("/info")
    @Operation(summary ="信息")
    @AutoDict
    public CommonResult<CoalWashCurvesDTO> getByMzAndRq(@RequestParam Map<String, Object> params){
        String mz = (String)params.get("mz");
        String syrq = (String)params.get("syrq");
        CoalWashCurvesDTO data = coalWashCurvesService.getByMzAndRq(mz,syrq);
        return success(data);
    }
    @GetMapping("/last")
    @Operation(summary ="信息")
    @AutoDict
    public CommonResult<Boolean> last(@RequestParam Map<String, Object> params){
        String mz = (String)params.get("mz");
        CoalWashCurvesDTO data = coalWashCurvesService.getLastByMz(mz);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary ="信息")
    @AutoDict
    public CommonResult<CoalWashCurvesDTO> get(String id){
        CoalWashCurvesDTO data = coalWashCurvesService.get(id);
        return success(data);
    }
    @PostMapping("/create")
    @Operation(summary = "保存")
    public CommonResult<Boolean> create(@RequestBody CoalWashCurvesDTO dto){
        coalWashCurvesService.save(dto);
        return success(true);
    }
    @PutMapping("/update")
    @Operation(summary ="修改")
    public CommonResult<Boolean> update(@RequestBody CoalWashCurvesDTO dto){
        coalWashCurvesService.update(dto);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    public CommonResult<Boolean> delete(@RequestBody String[] ids){
        coalWashCurvesService.delete(ids);
        return  success(true);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/admin/CoalWashCurvesDetController.java
对比新文件
@@ -0,0 +1,43 @@
package com.iailab.module.pms.coalquality.modules.analysis.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesDetService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 16:25:00
 */
@RestController
@RequestMapping("/coal-quality/analysis/wash-curves-det")
@Tag(name="可选性曲线数据")
public class CoalWashCurvesDetController {
    @Autowired
    private CoalWashCurvesDetService coalWashCurvesDetService;
    @GetMapping("/list")
    @Operation(summary="信息")
    public CommonResult<List<CoalWashCurvesDetDTO>> list(String curvesId){
        Map<String, Object> params = new HashMap<>(1);
        params.put("curvesId", curvesId);
        List<CoalWashCurvesDetDTO> data = coalWashCurvesDetService.queryList(params);
        return success(data);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/controller/package-info.java
对比新文件
@@ -0,0 +1 @@
package com.iailab.module.pms.coalquality.modules.analysis.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalAnalysisFullDao.java
对比新文件
@@ -0,0 +1,24 @@
package com.iailab.module.pms.coalquality.modules.analysis.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalAnalysisFullEntity;
import com.iailab.module.pms.coalquality.modules.analysis.vo.FullPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:01:00
 */
@Mapper
public interface CoalAnalysisFullDao extends BaseMapperX<CoalAnalysisFullEntity> {
    default PageResult<CoalAnalysisFullEntity> selectPage(FullPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<CoalAnalysisFullEntity>()
                .like(StringUtils.isNotBlank(reqVO.getCode()), CoalAnalysisFullEntity::getCode, reqVO.getCode())
                .eq(StringUtils.isNotBlank(reqVO.getNy()), CoalAnalysisFullEntity::getNy, reqVO.getNy())
        );
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalAnalysisFullDetDao.java
对比新文件
@@ -0,0 +1,15 @@
package com.iailab.module.pms.coalquality.modules.analysis.dao;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalAnalysisFullDetEntity;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:02:00
 */
@Mapper
public interface CoalAnalysisFullDetDao extends BaseMapperX<CoalAnalysisFullDetEntity> {
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalWashCurvesChartDao.java
对比新文件
@@ -0,0 +1,17 @@
package com.iailab.module.pms.coalquality.modules.analysis.dao;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesChartEntity;
import org.apache.ibatis.annotations.Mapper;
/**
 * 可选性曲线图
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月19日 23:24:00
 */
@Mapper
public interface CoalWashCurvesChartDao extends BaseMapperX<CoalWashCurvesChartEntity> {
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalWashCurvesDao.java
对比新文件
@@ -0,0 +1,28 @@
package com.iailab.module.pms.coalquality.modules.analysis.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesEntity;
import com.iailab.module.pms.coalquality.modules.analysis.vo.WashCurvesPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 15:54:00
 */
@Mapper
public interface CoalWashCurvesDao extends BaseMapperX<CoalWashCurvesEntity> {
    default PageResult<CoalWashCurvesEntity> selectPage(WashCurvesPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<CoalWashCurvesEntity>()
                .like(StringUtils.isNotBlank(reqVO.getCode()), CoalWashCurvesEntity::getCode, reqVO.getCode())
                .eq(StringUtils.isNotBlank(reqVO.getMz()), CoalWashCurvesEntity::getMz, reqVO.getMz())
                .ge(StringUtils.isNotBlank(reqVO.getStartTime()), CoalWashCurvesEntity::getSyrq, reqVO.getStartTime())
                .le(StringUtils.isNotBlank(reqVO.getEndTime()), CoalWashCurvesEntity::getSyrq, reqVO.getEndTime())
        );
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/CoalWashCurvesDetDao.java
对比新文件
@@ -0,0 +1,15 @@
package com.iailab.module.pms.coalquality.modules.analysis.dao;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesDetEntity;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 15:54:00
 */
@Mapper
public interface CoalWashCurvesDetDao extends BaseMapperX<CoalWashCurvesDetEntity> {
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dao/ExcelImportDao.java
对比新文件
@@ -0,0 +1,16 @@
package com.iailab.module.pms.coalquality.modules.analysis.dao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
 * @author Lujiaxin
 * @Description
 * @createTime 2023年05月11日 11:05:00
 */
@Mapper
public interface ExcelImportDao {
    String getIdByDictCodeAndName(@Param("name")String name);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalAnalysisFullDTO.java
对比新文件
@@ -0,0 +1,97 @@
package com.iailab.module.pms.coalquality.modules.analysis.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:16:00
 */
@Data
@Schema(description = "全级浮沉实验台账")
public class CoalAnalysisFullDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @NotNull(message = "{id.require}")
    private String id;
    @Schema(description = "编号")
    @NotBlank(message = "编号不能为空")
    private String code;
    @Schema(description = "年月")
    private String ny;
    @Schema(description = "实验类别")
    private String type;
    @Schema(description = "实验类别")
    private String typeName;
    @Schema(description = "煤种")
    private String mz;
    @Schema(description = "煤种")
    private String mzName;
    @Schema(description = "实验样品")
    private String syyp;
    @Schema(description = "实验样品")
    private String syypName;
    @Schema(description = "浮沉方案")
    private String fcfa;
    @Schema(description = "实验日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private java.util.Date syrq;
    @Schema(description = "实验班组")
    private String sybz;
    @Schema(description = "实验负责人")
    private String syfzr;
    @Schema(description = "化验员")
    private String hyy;
    @Schema(description = "煤样总重")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal myzz;
    @Schema(description = "煤样总灰")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal myzh;
    @Schema(description = "煤样总硫")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal myzl;
    @Schema(description = "备注")
    private String bz;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建时间")
    private java.util.Date createDate;
    @Schema(description = "修改人")
    private String updater;
    @Schema(description = "修改时间")
    private java.util.Date updateDate;
    @Schema(description = "全级浮沉实验数据")
    private List<CoalAnalysisFullDetDTO> detList;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalAnalysisFullDetDTO.java
对比新文件
@@ -0,0 +1,72 @@
package com.iailab.module.pms.coalquality.modules.analysis.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.framework.common.validation.group.AddGroup;
import com.iailab.framework.common.validation.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:17:00
 */
@Data
@Schema(description = "全级浮沉实验数据")
public class CoalAnalysisFullDetDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description = "全级浮沉实验ID")
    private String fullId;
    @Schema(description = "编号")
    private String code;
    @Schema(description = "密度级")
    private String mdj;
    @Schema(description = "密度级")
    private String mdjName;
    @Schema(description = "重量")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal zl;
    @Schema(description = "产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cl;
    @Schema(description = "灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf;
    @Schema(description = "硫分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal lf;
    @Schema(description = "浮物累计产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal fwljcl;
    @Schema(description = "浮物累计灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal fwljhf;
    @Schema(description = "沉物累计产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cwljcl;
    @Schema(description = "沉物累计灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cwljhf;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalWashCurvesChartDTO.java
对比新文件
@@ -0,0 +1,81 @@
package com.iailab.module.pms.coalquality.modules.analysis.dto;
import com.iailab.framework.common.validation.group.AddGroup;
import com.iailab.framework.common.validation.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月19日 23:31:00
 */
@Data
@Schema(description = "可选性曲线图")
public class CoalWashCurvesChartDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description = "可选性曲线台账ID")
    @NotNull
    private String curvesId;
    @Schema(description = "绘图方法,1代表拟合法,0代表插值法")
    @NotNull
    private String curvesType;
    @Schema(description = "浮沉密度")
    private String densitySrcData;
    @Schema(description = "浮物累计数据")
    private String floatSrcData;
    @Schema(description = "密度±0.1数据")
    private String densityScopeSrcData;
    @Schema(description = "拟合参数")
    private String coeffSrcData;
    @Schema(description = "横坐标数据1")
    private String xAxisData1;
    @Schema(description = "横坐标数据2")
    private String xAxisData2;
    @Schema(description = "点数据FLOAT")
    private String floatPointData;
    @Schema(description = "点数据DENSITY")
    private String densityPointData;
    @Schema(description = "点数据DENSITY_SCOPE")
    private String densityScopePointData;
    @Schema(description = "灰分特性曲线")
    private String cellData;
    @Schema(description = "密度曲线")
    private String densityData;
    @Schema(description = "浮物曲线")
    private String floatData;
    @Schema(description = "沉物曲线")
    private String sinkData;
    @Schema(description = "密度±0.1曲线")
    private String densityScopeData;
    @Schema(description = "浮沉方案")
    private String fcfa;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalWashCurvesDTO.java
对比新文件
@@ -0,0 +1,88 @@
package com.iailab.module.pms.coalquality.modules.analysis.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.framework.common.validation.group.AddGroup;
import com.iailab.framework.common.validation.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 16:16:00
 */
@Data
@Schema(description = "可选性曲线台账")
public class CoalWashCurvesDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description = "编号")
    private String code;
    @Schema(description = "年月")
    private String ny;
    @Schema(description = "生产系统")
    private String scxt;
    @Schema(description = "生产系统")
    private String scxtName;
    @Schema(description = "煤种")
    private String mz;
    @Schema(description = "煤种")
    private String mzName;
    @Schema(description = "实验样品")
    private String syyp;
    @Schema(description = "实验样品")
    private String syypName;
    @Schema(description = "实验日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date syrq;
    @Schema(description = "浮沉方案")
    private String fcfa;
    @Schema(description = "浮沉方案")
    private String fcfaName;
    @Schema(description = "调入量")
    private BigDecimal drl;
    @Schema(description = "是否是加权结果")
    private String isweight;
    @Schema(description = "备注")
    private String bz;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建时间")
    private java.util.Date createDate;
    @Schema(description = "修改人")
    private String updater;
    @Schema(description = "修改时间")
    private java.util.Date updateDate;
    @Schema(description = "可选性曲线数据")
    private List<CoalWashCurvesDetDTO> detList;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/dto/CoalWashCurvesDetDTO.java
对比新文件
@@ -0,0 +1,77 @@
package com.iailab.module.pms.coalquality.modules.analysis.dto;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.framework.common.validation.group.AddGroup;
import com.iailab.framework.common.validation.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 16:02:00
 */
@Data
@Schema(description = "可选性曲线数据")
public class CoalWashCurvesDetDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    @ExcelIgnore
    private String id;
    @Schema(description = "可选性曲线台账ID")
    @ExcelIgnore
    private String curvesId;
    @Schema(description = "编号")
    @ExcelIgnore
    private String code;
    @Schema(description = "密度级")
    @ExcelIgnore
    private String mdj;
    @Schema(description = "密度级")
    private String mdjName;
    @Schema(description = "综合累计产率")
    private BigDecimal zhljcl;
    @Schema(description = "综合累计灰分")
    private BigDecimal zhljhf;
    @Schema(description = "浮物累计产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal fwljcl;
    @Schema(description = "浮物累计灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal fwljhf;
    @Schema(description = "沉物累计产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cwljcl;
    @Schema(description = "沉物累计灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cwljhf;
    @Schema(description = "密度")
    private BigDecimal md;
    @Schema(description = "±0.1含量")
    private BigDecimal hl;
    @Schema(description = "硫分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal lf;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalAnalysisFullDetEntity.java
对比新文件
@@ -0,0 +1,83 @@
package com.iailab.module.pms.coalquality.modules.analysis.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 全级浮沉实验数据
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_coal_analysis_full_det")
public class CoalAnalysisFullDetEntity implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * ID
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  /**
   * 全级浮沉实验ID
   */
  private String fullId;
  /**
   * 编号
   */
  private String code;
  /**
   * 密度级
   */
  private String mdj;
  /**
   * 重量
   */
  private BigDecimal zl;
  /**
   * 产率
   */
  private BigDecimal cl;
  /**
   * 灰分
   */
  private BigDecimal hf;
  /**
   * 硫分
   */
  private BigDecimal lf;
  /**
   * 浮物累计产率
   */
  private BigDecimal fwljcl;
  /**
   * 浮物累计灰分
   */
  private BigDecimal fwljhf;
  /**
   * 沉物累计产率
   */
  private BigDecimal cwljcl;
  /**
   * 沉物累计灰分
   */
  private BigDecimal cwljhf;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalAnalysisFullEntity.java
对比新文件
@@ -0,0 +1,118 @@
package com.iailab.module.pms.coalquality.modules.analysis.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 全级浮沉实验台账
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_coal_analysis_full")
public class CoalAnalysisFullEntity implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * ID
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  /**
   * 编号
   */
  private String code;
  /**
   * 年月
   */
  private String ny;
  /**
   * 实验类别
   */
  private String type;
  /**
   * 煤种
   */
  private String mz;
  /**
   * 实验样品
   */
  private String syyp;
  /**
   * 浮沉方案
   */
  private String fcfa;
  /**
   * 实验日期
   */
  private java.util.Date syrq;
  /**
   * 实验班组
   */
  private String sybz;
  /**
   * 实验负责人
   */
  private String syfzr;
  /**
   * 化验员
   */
  private String hyy;
  /**
   * 煤样总重
   */
  private BigDecimal myzz;
  /**
   * 煤样总灰
   */
  private BigDecimal myzh;
  /**
   * 煤样总硫
   */
  private BigDecimal myzl;
  /**
   * 备注
   */
  private String bz;
  /**
   * 创建人
   */
  private String creator;
  /**
   * 创建时间
   */
  private java.util.Date createDate;
  /**
   * 修改人
   */
  private String updater;
  /**
   * 修改时间
   */
  private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalWashCurvesChartEntity.java
对比新文件
@@ -0,0 +1,105 @@
package com.iailab.module.pms.coalquality.modules.analysis.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
/**
 * 可选性曲线图
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_coal_wash_curves_chart")
public class CoalWashCurvesChartEntity implements Serializable {
  /**
   * ID
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  /**
   * 可选性曲线台账ID
   */
  private String curvesId;
  /**
   * 绘图方法,1代表拟合法,0代表插值法
   */
  private String curvesType;
  /**
   * 浮沉密度
   */
  private String densitySrcData;
  /**
   * 浮物累计数据
   */
  private String floatSrcData;
  /**
   * 密度±0.1数据
   */
  private String densityScopeSrcData;
  /**
   * 拟合参数
   */
  private String coeffSrcData;
  /**
   * 横坐标数据1
   */
  private String xAxisData1;
  /**
   * 横坐标数据2
   */
  private String xAxisData2;
  /**
   * 点数据FLOAT
   */
  private String floatPointData;
  /**
   * 点数据DENSITY
   */
  private String densityPointData;
  /**
   * 点数据DENSITY_SCOPE
   */
  private String densityScopePointData;
  /**
   * 灰分特性曲线
   */
  private String cellData;
  /**
   * 密度曲线
   */
  private String densityData;
  /**
   * 浮物曲线
   */
  private String floatData;
  /**
   * 沉物曲线
   */
  private String sinkData;
  /**
   * 密度±0.1曲线
   */
  private String densityScopeData;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalWashCurvesDetEntity.java
对比新文件
@@ -0,0 +1,84 @@
package com.iailab.module.pms.coalquality.modules.analysis.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_coal_wash_curves_det")
public class CoalWashCurvesDetEntity implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * ID
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  /**
   * 可选性曲线台账ID
   */
  private String curvesId;
  /**
   * 编号
   */
  private String code;
  /**
   * 密度级
   */
  private String mdj;
  /**
   * 综合累计产率
   */
  private BigDecimal zhljcl;
  /**
   * 综合累计灰分
   */
  private BigDecimal zhljhf;
  /**
   * 浮物累计产率
   */
  private BigDecimal fwljcl;
  /**
   * 浮物累计灰分
   */
  private BigDecimal fwljhf;
  /**
   * 沉物累计产率
   */
  private BigDecimal cwljcl;
  /**
   * 沉物累计灰分
   */
  private BigDecimal cwljhf;
  /**
   * 密度
   */
  private BigDecimal md;
  /**
   * ±0.1含量
   */
  private BigDecimal hl;
  /**
   * 硫分
   */
  private BigDecimal lf;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/entity/CoalWashCurvesEntity.java
对比新文件
@@ -0,0 +1,95 @@
package com.iailab.module.pms.coalquality.modules.analysis.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_coal_wash_curves")
public class CoalWashCurvesEntity implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * ID
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  /**
   * 年月
   */
  private String code;
  /**
   * 编号
   */
  private String ny;
  /**
   * 生产系统
   */
  private String scxt;
  /**
   * 煤种
   */
  private String mz;
  /**
   * 实验样品
   */
  private String syyp;
  /**
   * 实验日期
   */
  private Date syrq;
  /**
   * 浮沉方案
   */
  private String fcfa;
  /**
   * 浮沉方案
   */
  private String isweight;
  /**
   * 调入量
   */
  private BigDecimal drl;
  /**
   * 备注
   */
  private String bz;
  /**
   * 创建人
   */
  private String creator;
  /**
   * 创建时间
   */
  private Date createDate;
  /**
   * 修改人
   */
  private String updater;
  /**
   * 修改时间
   */
  private Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalAnalysisFullDetService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.coalquality.modules.analysis.service;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalAnalysisFullDetEntity;
import java.util.List;
import java.util.Map;
/**
 * 全级浮沉实验数据
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:07:00
 */
public interface CoalAnalysisFullDetService extends BaseService<CoalAnalysisFullDetEntity> {
    List<CoalAnalysisFullDetDTO> queryList(Map<String, Object> params);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalAnalysisFullService.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.coalquality.modules.analysis.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalAnalysisFullEntity;
import com.iailab.module.pms.coalquality.modules.analysis.vo.FullPageReqVO;
/**
 * 全级浮沉实验台账
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:08:00
 */
public interface CoalAnalysisFullService extends BaseService<CoalAnalysisFullEntity> {
    PageResult<CoalAnalysisFullDTO> page(FullPageReqVO fullPageReqVO);
    CoalAnalysisFullDTO get(String id);
    void save(CoalAnalysisFullDTO dto);
    void update(CoalAnalysisFullDTO dto);
    void delete(String[] ids);
    Long cheack(CoalAnalysisFullDTO dto);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalWashCurvesChartService.java
对比新文件
@@ -0,0 +1,22 @@
package com.iailab.module.pms.coalquality.modules.analysis.service;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesChartDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesChartEntity;
/**
 * 可选性曲线图
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月19日 23:25:00
 */
public interface CoalWashCurvesChartService extends BaseService<CoalWashCurvesChartEntity> {
    CoalWashCurvesChartDTO getByCurvesId(String curvesId);
    void update(CoalWashCurvesChartDTO dto);
    CoalWashCurvesChartDTO draw(CoalWashCurvesChartDTO dto);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalWashCurvesDetService.java
对比新文件
@@ -0,0 +1,26 @@
package com.iailab.module.pms.coalquality.modules.analysis.service;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesDetEntity;
import java.util.List;
import java.util.Map;
/**
 * 可选性曲线数据
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 15:56:00
 */
public interface CoalWashCurvesDetService extends BaseService<CoalWashCurvesDetEntity> {
    List<CoalWashCurvesDetDTO> queryList(Map<String, Object> params);
    Map<String, Object> getDrawParams(String curvesId);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/CoalWashCurvesService.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.coalquality.modules.analysis.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesEntity;
import com.iailab.module.pms.coalquality.modules.analysis.vo.WashCurvesPageReqVO;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 15:57:00
 */
public interface CoalWashCurvesService extends BaseService<CoalWashCurvesEntity> {
    PageResult<CoalWashCurvesDTO> page(WashCurvesPageReqVO washCurvesPageReqVO);
    CoalWashCurvesDTO get(String id);
    void save(CoalWashCurvesDTO dto);
    void update(CoalWashCurvesDTO dto);
    void delete(String[] ids);
    CoalWashCurvesDTO getLastByMz(String mz);
    CoalWashCurvesDTO getByMzAndRq(String mz, String syrq);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalAnalysisFullDetServiceImpl.java
对比新文件
@@ -0,0 +1,50 @@
package com.iailab.module.pms.coalquality.modules.analysis.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.framework.tenant.core.aop.TenantIgnore;
import com.iailab.module.pms.coalquality.modules.analysis.dao.CoalAnalysisFullDetDao;
import com.iailab.module.pms.coalquality.modules.analysis.dao.ExcelImportDao;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalAnalysisFullDetEntity;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalAnalysisFullDetService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
/**
 * 全级浮沉实验数据
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:09:00
 */
@Service
public class CoalAnalysisFullDetServiceImpl extends BaseServiceImpl<CoalAnalysisFullDetDao, CoalAnalysisFullDetEntity>
        implements CoalAnalysisFullDetService {
    @Resource
    private ExcelImportDao excelImportDao;
    @Override
    @TenantIgnore
    public List<CoalAnalysisFullDetDTO> queryList(Map<String, Object> params) {
        List<CoalAnalysisFullDetEntity> list = baseDao.selectList(getWrapper(params));
        return ConvertUtils.sourceToTarget(list, CoalAnalysisFullDetDTO.class);
    }
    private QueryWrapper<CoalAnalysisFullDetEntity> getWrapper(Map<String, Object> params){
        String fullId = (String)params.get("fullId");
        QueryWrapper<CoalAnalysisFullDetEntity> wrapper = new QueryWrapper<>();
        wrapper.eq(StringUtils.isNotBlank(fullId), "full_id", fullId).orderByAsc("code");
        return wrapper;
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalAnalysisFullServiceImpl.java
对比新文件
@@ -0,0 +1,115 @@
package com.iailab.module.pms.coalquality.modules.analysis.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.module.pms.coalquality.modules.analysis.dao.CoalAnalysisFullDao;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDTO;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalAnalysisFullEntity;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalAnalysisFullDetService;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalAnalysisFullService;
import com.iailab.module.pms.coalquality.modules.analysis.vo.FullPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.text.DecimalFormat;
import java.util.*;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月12日 17:09:00
 */
@Service
public class CoalAnalysisFullServiceImpl extends BaseServiceImpl<CoalAnalysisFullDao, CoalAnalysisFullEntity>
        implements CoalAnalysisFullService {
    @Autowired
    private CoalAnalysisFullDetService coalAnalysisFullDetService;
    private String BUSINESS_CODE = "CoalAnalysisFull";
    private DecimalFormat df = new DecimalFormat("00");
    @Override
    public PageResult<CoalAnalysisFullDTO> page(FullPageReqVO fullPageReqVO) {
        PageResult<CoalAnalysisFullEntity> page = baseDao.selectPage(fullPageReqVO);
        return BeanUtils.toBean(page, CoalAnalysisFullDTO.class);
    }
    @Override
    public CoalAnalysisFullDTO get(String id) {
        CoalAnalysisFullEntity entity = baseDao.selectById(id);
        CoalAnalysisFullDTO dto = ConvertUtils.sourceToTarget(entity, CoalAnalysisFullDTO.class);
        dto.setDetList(getDetList(dto.getId()));
        return dto;
    }
    private List<CoalAnalysisFullDetDTO> getDetList(String fullId) {
        Map<String, Object> parmas = new HashMap<>(1);
        parmas.put("fullId", fullId);
        return coalAnalysisFullDetService.queryList(parmas);
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void save(CoalAnalysisFullDTO dto) {
        dto.setCode(dto.getNy().replace("-", ""));
        CoalAnalysisFullEntity entity = ConvertUtils.sourceToTarget(dto, CoalAnalysisFullEntity.class);
        entity.setId(UUID.randomUUID().toString());
        entity.setCreateDate(new Date());
        insert(entity);
        List<CoalAnalysisFullDetDTO> detList = dto.getDetList();
//        if (!CollectionUtils.isEmpty(detList)) {
//            for (int i = 0; i < detList.size(); i++) {
//                detList.get(i).setCode(entity.getCode() + df.format(i + 1));
//                detList.get(i).setFullId(entity.getId());
//            }
//            coalAnalysisFullDetService.saveList(detList);
//        }
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void update(CoalAnalysisFullDTO dto) {
        CoalAnalysisFullEntity entity = ConvertUtils.sourceToTarget(dto, CoalAnalysisFullEntity.class);
        entity.setUpdateDate(new Date());
        updateById(entity);
        List<CoalAnalysisFullDetDTO> detList = dto.getDetList();
//        if (!CollectionUtils.isEmpty(detList)) {
//            detList.forEach(item -> {
//                item.setFullId(entity.getId());
//            });
//            coalAnalysisFullDetService.updateList(detList);
//        }
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        baseDao.deleteByIds(Arrays.asList(ids));
//        Arrays.asList(ids).forEach(item -> {
//            coalAnalysisFullDetService.deleteByFullId(item);
//        });
    }
    @Override
    public Long cheack(CoalAnalysisFullDTO dto) {
        String id = dto.getId();
        String code = dto.getCode();
        QueryWrapper<CoalAnalysisFullEntity> queryWrapper = new QueryWrapper<>();
        queryWrapper.ne(StringUtils.isNotBlank(id), "id", id);
        queryWrapper.and(wrapper -> wrapper.eq("code", code));
        return baseDao.selectCount(queryWrapper);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalWashCurvesChartServiceImpl.java
对比新文件
@@ -0,0 +1,168 @@
package com.iailab.module.pms.coalquality.modules.analysis.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.framework.tenant.core.aop.TenantIgnore;
import com.iailab.module.pms.coalquality.common.enums.FcfaType;
import com.iailab.module.pms.coalquality.modules.analysis.dao.CoalWashCurvesChartDao;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesChartDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesChartEntity;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesChartService;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesDetService;
import com.mathworks.toolbox.javabuilder.MWCellArray;
import com.mathworks.toolbox.javabuilder.MWNumericArray;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import washabilityCurve20230915.WashCurve;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
 * 可选性曲线图
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月19日 23:25:00
 */
@Service
public class CoalWashCurvesChartServiceImpl extends BaseServiceImpl<CoalWashCurvesChartDao, CoalWashCurvesChartEntity>
        implements CoalWashCurvesChartService {
    @Autowired
    private CoalWashCurvesDetService coalWashCurvesDetService;
    private final String CURVES_TYPE_FITTING = "1";
    @Override
    @TenantIgnore
    public CoalWashCurvesChartDTO getByCurvesId(String curvesId) {
        CoalWashCurvesChartEntity entity = baseDao.selectOne(new QueryWrapper<CoalWashCurvesChartEntity>().eq("curves_id", curvesId));
        return ConvertUtils.sourceToTarget(entity, CoalWashCurvesChartDTO.class);
    }
    @Override
    @TenantIgnore
    public void update(CoalWashCurvesChartDTO dto) {
        baseDao.delete(new QueryWrapper<CoalWashCurvesChartEntity>().eq("curves_id", dto.getCurvesId()));
        CoalWashCurvesChartEntity entity = ConvertUtils.sourceToTarget(dto, CoalWashCurvesChartEntity.class);
        insert(entity);
    }
    @Override
    public CoalWashCurvesChartDTO draw(CoalWashCurvesChartDTO dto) {
        String curvesType = dto.getCurvesType();
        Map<String, Object> drawParams = coalWashCurvesDetService.getDrawParams(dto.getCurvesId());
        try {
            double[] densitySrcData = new double[]{1.3, 1.4, 1.5, 1.6, 1.8};
            if(FcfaType.THREE.getCode().equals(dto.getFcfa())) {
                densitySrcData = new double[]{1.4, 1.8};
            }
            double[][] floatSrcData = (double[][]) drawParams.get("floatSrcData");
            double[][] densityScopeSrcData = (double[][]) drawParams.get("densityScopeSrcData");
            double[] coeffSrcData = {};
            WashCurve wc = new WashCurve();
            Object[] allResult = wc.washabilityCurve(2, densitySrcData, floatSrcData, densityScopeSrcData, Integer.parseInt(curvesType), coeffSrcData);
            MWNumericArray temp = (MWNumericArray) allResult[0];
            double[][] coefficient = (double[][]) temp.toDoubleArray();
            MWCellArray temp1 = (MWCellArray) allResult[1];
            double[][] test1 = (double[][]) temp1.get(1);
            double[] xAxis1 = test1[0];
            double[][] test2 = (double[][]) temp1.get(2);
            double[] xAxis2 = test2[0];
            double[][] test3 = (double[][]) temp1.get(3);
            //double[] floatVue = test3[0];
            double[][] test4 = (double[][]) temp1.get(4);
            double[] cellVue = test4[0];
            double[][] test5 = (double[][]) temp1.get(5);
            // double[] sinkVue = test5[0];
            double[][] test6 = (double[][]) temp1.get(6);
            double[] densityDataResult = test6[0];
            double[][] test7 = (double[][]) temp1.get(7);
            double[] densityScopeData = test7[0];
            double[][] floatPoint = (double[][]) temp1.get(8);
            double[][] densePoint = (double[][]) temp1.get(9);
            double[][] denseScopePoint = (double[][]) temp1.get(10);
            List<Double> xAxis1List = new ArrayList<>();
            for(int i = 0; i < xAxis1.length; i ++) {
                xAxis1List.add(new BigDecimal(xAxis1[i]).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
            }
            List<Double> xAxis2List = new ArrayList<>();
            for(int i = 0; i < xAxis2.length; i ++) {
                xAxis2List.add(new BigDecimal(xAxis2[i]).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
            }
            List<Double> floatVue = new ArrayList<>();
            for(int i = 0; i < test3[0].length; i ++) {
                floatVue.add(new BigDecimal(test3[0][i]).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
            }
            List<Double> sinkVue = new ArrayList<>();
            for(int i = 0; i < test5[0].length; i ++) {
                sinkVue.add(new BigDecimal(test5[0][i]).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
            }
            List<Double> cellVueList = new ArrayList<>();
            for(int i = 0; i < cellVue.length; i ++) {
                cellVueList.add(new BigDecimal(cellVue[i]).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
            }
            List<Double> densityDataList = new ArrayList<>();
            for(int i = 0; i < densityDataResult.length; i ++) {
                densityDataList.add(new BigDecimal(densityDataResult[i]).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
            }
            Map<Integer, Integer> emptyDs =  new HashMap<>();
            if (CURVES_TYPE_FITTING.equals(curvesType)) {
                int k = 0;
                for (int i = 0; i < (densityDataResult.length - 1); i++ ) {
                    if (densityDataResult[i] != 0) {
                        k = i - 1;
                        break;
                    }
                }
                if (k <= 0) {
                    k = 15;
                }
                for (int j = 0; j < k + 10; j++) {
                    emptyDs.put(j, j);
                }
            }
            List<Double> densityScopeList = new ArrayList<>();
            for(int i = 0; i < densityScopeData.length; i ++) {
                if (emptyDs.containsKey(i)) {
                    densityScopeList.add(null);
                    continue;
                }
                densityScopeList.add(new BigDecimal(densityScopeData[i]).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
            }
            dto.setDensitySrcData(JSONObject.toJSONString(densitySrcData));
            dto.setFloatSrcData(JSONObject.toJSONString(floatSrcData));
            dto.setDensityScopeSrcData(JSONObject.toJSONString(densityScopeSrcData));
            dto.setCoeffSrcData(JSONObject.toJSONString(coeffSrcData));
            dto.setXAxisData1(JSONObject.toJSONString(xAxis1List));
            dto.setXAxisData2(JSONObject.toJSONString(xAxis2List));
            dto.setFloatPointData(JSONObject.toJSONString(floatPoint));
            dto.setDensityPointData(JSONObject.toJSONString(densePoint));
            dto.setDensityScopePointData(JSONObject.toJSONString(denseScopePoint));
            dto.setCellData(JSONObject.toJSONString(cellVueList));
            dto.setDensityData(JSONObject.toJSONString(densityDataList));
            dto.setDensityScopeData(JSONObject.toJSONString(densityScopeList));
            dto.setFloatData(JSONObject.toJSONString(floatVue));
            dto.setSinkData(JSONObject.toJSONString(sinkVue));
            this.update(dto);
            return dto;
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return null;
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalWashCurvesDetServiceImpl.java
对比新文件
@@ -0,0 +1,76 @@
package com.iailab.module.pms.coalquality.modules.analysis.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.framework.tenant.core.aop.TenantIgnore;
import com.iailab.module.pms.coalquality.modules.analysis.dao.CoalWashCurvesDetDao;
import com.iailab.module.pms.coalquality.modules.analysis.dao.ExcelImportDao;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesDetEntity;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesDetService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
 * 可选性曲线数据
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 15:58:00
 */
@Service
public class CoalWashCurvesDetServiceImpl extends BaseServiceImpl<CoalWashCurvesDetDao, CoalWashCurvesDetEntity>
        implements CoalWashCurvesDetService {
    @Resource
    private ExcelImportDao excelImportDao;
    @Override
    @TenantIgnore
    public List<CoalWashCurvesDetDTO> queryList(Map<String, Object> params) {
        List<CoalWashCurvesDetEntity> list = baseDao.selectList(getWrapper(params));
        return ConvertUtils.sourceToTarget(list, CoalWashCurvesDetDTO.class);
    }
    private QueryWrapper<CoalWashCurvesDetEntity> getWrapper(Map<String, Object> params) {
        String curvesId = (String) params.get("curvesId");
        QueryWrapper<CoalWashCurvesDetEntity> wrapper = new QueryWrapper<>();
        wrapper.eq(StringUtils.isNotBlank(curvesId), "CURVES_ID", curvesId).orderByAsc("code");
        return wrapper;
    }
    @Override
    public Map<String, Object> getDrawParams(String curvesId) {
        Map<String, Object> result = new HashMap<>();
        Map<String, Object> queryDetParams = new HashMap<>(1);
        queryDetParams.put("curvesId", curvesId);
        List<CoalWashCurvesDetDTO> list = this.queryList(queryDetParams);
        double[][] floatSrcData = new double[list.size()][2];
        for (int i = 0; i < list.size(); i ++) {
            floatSrcData[i][0] = list.get(i).getFwljcl().doubleValue();
            floatSrcData[i][1] = list.get(i).getFwljhf().doubleValue();
        }
        double[][] densityScopeSrcData = new double[list.size()][2];
        for (int i = 0; i < list.size(); i ++) {
            densityScopeSrcData[i][0] = list.get(i).getMd().doubleValue();
            densityScopeSrcData[i][1] = list.get(i).getHl().doubleValue();
        }
        result.put("floatSrcData", floatSrcData);
        result.put("densityScopeSrcData", densityScopeSrcData);
        return result;
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/service/impl/CoalWashCurvesServiceImpl.java
对比新文件
@@ -0,0 +1,151 @@
package com.iailab.module.pms.coalquality.modules.analysis.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.constant.Constant;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.framework.tenant.core.aop.TenantIgnore;
import com.iailab.iems.common.utils.SerialNumUtils;
import com.iailab.module.pms.coalquality.modules.analysis.dao.CoalWashCurvesDao;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDTO;
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDetDTO;
import com.iailab.module.pms.coalquality.modules.analysis.entity.CoalWashCurvesEntity;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesDetService;
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesService;
import com.iailab.module.pms.coalquality.modules.analysis.vo.WashCurvesPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import java.text.DecimalFormat;
import java.util.*;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年01月16日 15:58:00
 */
@Service
public class CoalWashCurvesServiceImpl extends BaseServiceImpl<CoalWashCurvesDao, CoalWashCurvesEntity>
        implements CoalWashCurvesService {
    @Autowired
    private CoalWashCurvesDetService coalWashCurvesDetService;
    private DecimalFormat df = new DecimalFormat("00");
    @Autowired
    private SerialNumUtils serialNumUtils;
    private String BUSINESS_CODE = "CoalWashCurves";
    @Override
    @TenantIgnore
    public PageResult<CoalWashCurvesDTO> page(WashCurvesPageReqVO washCurvesPageReqVO) {
        PageResult<CoalWashCurvesEntity> page = baseDao.selectPage(washCurvesPageReqVO);
        return BeanUtils.toBean(page, CoalWashCurvesDTO.class);
    }
    @Override
    public CoalWashCurvesDTO get(String id) {
        CoalWashCurvesEntity entity = baseDao.selectById(id);
        CoalWashCurvesDTO dto = ConvertUtils.sourceToTarget(entity, CoalWashCurvesDTO.class);
        Map<String, Object> parmas = new HashMap<>(1);
        parmas.put("curvesId", dto.getId());
        List<CoalWashCurvesDetDTO> detList = coalWashCurvesDetService.queryList(parmas);
        dto.setDetList(detList);
        return dto;
    }
    @Override
    public CoalWashCurvesDTO getLastByMz(String mz) {
//        if (StringUtils.isBlank(mz)) {
//            return new CoalWashCurvesDTO();
//        }
        QueryWrapper<CoalWashCurvesEntity> wrapper = new QueryWrapper<>();
        wrapper.eq(StringUtils.isNotBlank(mz), "mz", mz).orderByDesc(Constant.CREATE_DATE).last("limit 0, 1");
        List<CoalWashCurvesEntity> list = baseDao.selectList(wrapper);
        if (CollectionUtils.isEmpty(list)) {
            return null;
        }
        CoalWashCurvesEntity entity = list.get(0);
        CoalWashCurvesDTO dto = ConvertUtils.sourceToTarget(entity, CoalWashCurvesDTO.class);
        Map<String, Object> parmas = new HashMap<>(1);
        parmas.put("curvesId", dto.getId());
        List<CoalWashCurvesDetDTO> detList = coalWashCurvesDetService.queryList(parmas);
        dto.setDetList(detList);
        return dto;
    }
    @Override
    public CoalWashCurvesDTO getByMzAndRq(String mz, String syrq) {
//        if (StringUtils.isBlank(mz)) {
//            return new CoalWashCurvesDTO();
//        }
        QueryWrapper<CoalWashCurvesEntity> wrapper = new QueryWrapper<>();
        wrapper.eq(StringUtils.isNotBlank(mz), "mz", mz)
                .eq(StringUtils.isNotBlank(syrq),"syrq",syrq);
        List<CoalWashCurvesEntity> list = baseDao.selectList(wrapper);
        if (CollectionUtils.isEmpty(list)) {
            return null;
        }
        CoalWashCurvesEntity entity = list.get(0);
        CoalWashCurvesDTO dto = ConvertUtils.sourceToTarget(entity, CoalWashCurvesDTO.class);
        Map<String, Object> parmas = new HashMap<>(1);
        parmas.put("curvesId", dto.getId());
        List<CoalWashCurvesDetDTO> detList = coalWashCurvesDetService.queryList(parmas);
        dto.setDetList(detList);
        return dto;
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void save(CoalWashCurvesDTO dto) {
//        String a = serialNumUtils.getByBusiness( BUSINESS_CODE,4);
        dto.setCode(dto.getNy().replace("-", "") );
        CoalWashCurvesEntity entity = ConvertUtils.sourceToTarget(dto, CoalWashCurvesEntity.class);
        entity.setId(UUID.randomUUID().toString());
        entity.setCreateDate(new Date());
//        entity.setCreator(SecurityUser.getUserId().toString());
        insert(entity);
        List<CoalWashCurvesDetDTO> detList = dto.getDetList();
//        if (!CollectionUtils.isEmpty(detList)) {
//            for (int i = 0; i < detList.size(); i++) {
//                detList.get(i).setCode(entity.getCode() + df.format(i + 1));
//                detList.get(i).setCurvesId(entity.getId());
//            }
//            coalWashCurvesDetService.saveList(detList);
//        }
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void update(CoalWashCurvesDTO dto) {
        CoalWashCurvesEntity entity = ConvertUtils.sourceToTarget(dto, CoalWashCurvesEntity.class);
        entity.setUpdateDate(new Date());
//        entity.setUpdater(SecurityUser.getUserId().toString());
        updateById(entity);
        List<CoalWashCurvesDetDTO> detList = dto.getDetList();
//        if (!CollectionUtils.isEmpty(detList)) {
//            detList.forEach(item -> {
//                item.setCurvesId(entity.getId());
//            });
//            coalWashCurvesDetService.updateList(detList);
//        }
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        baseDao.deleteByIds(Arrays.asList(ids));
//        coalWashCurvesDetService.deleteByCurvesIds(Arrays.asList(ids));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/vo/FullPageReqVO.java
对比新文件
@@ -0,0 +1,25 @@
package com.iailab.module.pms.coalquality.modules.analysis.vo;
import com.iailab.framework.common.pojo.PageParam;
import lombok.Data;
/**
 * 原子指标
 *
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月11日
 */
@Data
public class FullPageReqVO extends PageParam {
    /**
     * 流水号
     */
    private String code;
    /**
     * 年月
     */
    private String ny;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/analysis/vo/WashCurvesPageReqVO.java
对比新文件
@@ -0,0 +1,44 @@
package com.iailab.module.pms.coalquality.modules.analysis.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * 原子指标
 *
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月11日
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WashCurvesPageReqVO extends PageParam {
    /**
     * 流水号
     */
    @Schema(description = "指标编码", example = "")
    private String code;
    /**
     * 年月
     */
    @Schema(description = "开始时间", example = "")
    private String startTime;
    /**
     * 年月
     */
    @Schema(description = "结束时间", example = "")
    private String endTime;
    /**
     * 年月
     */
    @Schema(description = "结束时间", example = "")
    private String mz;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityDetectionController.java
对比新文件
@@ -0,0 +1,85 @@
package com.iailab.module.pms.coalquality.modules.detection.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.iems.common.validator.AssertUtils;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityDetectionDTO;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityDetectionService;
import com.iailab.module.pms.coalquality.modules.detection.vo.DetectionPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 煤质检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 13:15:00
 */
@Slf4j
@RestController
@RequestMapping("/quality/detection")
@Tag(name = "煤质检测")
public class QualityDetectionController {
    @Autowired
    private QualityDetectionService qualityDetectionService;
    private String DICT_CODE = "mzzb";
    @GetMapping("page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<QualityDetectionDTO>> page(DetectionPageReqVO reqVO) {
        PageResult<QualityDetectionDTO> page = qualityDetectionService.page(reqVO);
        return success(page);
    }
    @GetMapping("{id}")
    @Operation(summary ="信息")
    public CommonResult<QualityDetectionDTO> get(@PathVariable("id") String id) {
        QualityDetectionDTO data = qualityDetectionService.get(id);
        return success(data);
    }
    @PostMapping
    @Operation(summary ="保存")
    public CommonResult<Boolean> save(@RequestBody QualityDetectionDTO dto) {
//        if (qualityDetectionService.cheack(dto) > 0) {
//            return new CommonResult().error("编号重复");
//        }
        qualityDetectionService.save(dto);
        return success(true);
    }
    @PutMapping
    @Operation(summary ="修改")
    public CommonResult<Boolean> update(@RequestBody QualityDetectionDTO dto) {
//        if (qualityDetectionService.cheack(dto) > 0) {
//            return new CommonResult().error("编号重复");
//        }
        qualityDetectionService.update(dto);
        return success(true);
    }
    @DeleteMapping
    @Operation(summary ="删除")
    public CommonResult<Boolean> delete(@RequestBody String[] ids) {
        //效验数据
        AssertUtils.isArrayEmpty(ids, "id");
        qualityDetectionService.delete(ids);
        return success(true);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityMediumController.java
对比新文件
@@ -0,0 +1,83 @@
package com.iailab.module.pms.coalquality.modules.detection.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.iems.common.validator.AssertUtils;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityMediumDTO;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityMediumService;
import com.iailab.module.pms.coalquality.modules.detection.vo.MediumPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:36:00
 */
@Slf4j
@RestController
@RequestMapping("/quality/medium")
@Tag(name = "介质粉检测")
public class QualityMediumController {
    @Autowired
    private QualityMediumService qualityMediumService;
    @GetMapping("page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<QualityMediumDTO>> page(MediumPageReqVO mediumPageReqVO){
        PageResult<QualityMediumDTO> page = qualityMediumService.page(mediumPageReqVO);
        return success(page);
    }
    @GetMapping("{id}")
    @Operation(summary = "信息")
    public CommonResult<QualityMediumDTO> get(@PathVariable("id") String id){
        QualityMediumDTO data = qualityMediumService.get(id);
        return success(data);
    }
    @PostMapping
    @Operation(summary = "保存")
    public CommonResult<Boolean> save(@RequestBody QualityMediumDTO dto){
//        //效验数据
//        ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
        qualityMediumService.save(dto);
        return success(true);
    }
    @PutMapping
    @Operation(summary = "修改")
    public CommonResult<Boolean> update(@RequestBody QualityMediumDTO dto){
//        //效验数据
//        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
//
//        if (qualityMediumService.cheack(dto) > 0) {
//            return new CommonResult().error("编号重复");
//        }
        qualityMediumService.update(dto);
        return success(true);
    }
    @DeleteMapping
    @Operation(summary = "删除")
    public CommonResult<Boolean> delete(@RequestBody String[] ids){
        //效验数据
        AssertUtils.isArrayEmpty(ids, "id");
        qualityMediumService.delete(ids);
        return success(true);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickController.java
对比新文件
@@ -0,0 +1,74 @@
package com.iailab.module.pms.coalquality.modules.detection.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.iems.common.validator.AssertUtils;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickDTO;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityQuickService;
import com.iailab.module.pms.coalquality.modules.detection.vo.QuickPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Slf4j
@RestController
@RequestMapping("/quality/quick")
@Tag(name = "生产快检")
public class QualityQuickController {
    @Autowired
    private QualityQuickService qualityQuickService;
    @GetMapping("page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<QualityQuickDTO>> page(QuickPageReqVO quickPageReqVO){
        PageResult<QualityQuickDTO> page = qualityQuickService.page(quickPageReqVO);
        return success(page);
    }
    @GetMapping("{id}")
    @Operation(summary = "信息")
    public CommonResult<QualityQuickDTO> get(@PathVariable("id") String id){
        QualityQuickDTO data = qualityQuickService.get(id);
        return success(data);
    }
    @PostMapping
    @Operation(summary = "保存")
    public CommonResult<Boolean> save(@RequestBody QualityQuickDTO dto){
        qualityQuickService.save(dto);
        return success(true);
    }
    @PutMapping
    @Operation(summary = "修改")
    public CommonResult<Boolean> update(@RequestBody QualityQuickDTO dto){
        qualityQuickService.update(dto);
        return success(true);
    }
    @DeleteMapping
    @Operation(summary = "删除")
    public CommonResult<Boolean> delete(@RequestBody String[] ids){
        //效验数据
        AssertUtils.isArrayEmpty(ids, "id");
        qualityQuickService.delete(ids);
        return success(true);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityQuickItemController.java
对比新文件
@@ -0,0 +1,45 @@
package com.iailab.module.pms.coalquality.modules.detection.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.iems.common.annotation.AutoDict;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickItemDTO;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityQuickItemService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Slf4j
@RestController
@RequestMapping("/quality/quick/item")
@Tag(name = "生产快检详情")
public class QualityQuickItemController {
    @Autowired
    private QualityQuickItemService qualityQuickItemService;
    @GetMapping("/list/{lsh}")
    @Operation(summary ="信息")
    @AutoDict
    public CommonResult<List<QualityQuickItemDTO>> list(@PathVariable("lsh") String lsh){
        Map<String, Object> parmas = new HashMap<>(1);
        parmas.put("lsh", lsh);
        List<QualityQuickItemDTO> data = qualityQuickItemService.queryList(parmas);
        return success(data);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/admin/QualityTailingController.java
对比新文件
@@ -0,0 +1,79 @@
package com.iailab.module.pms.coalquality.modules.detection.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.iems.common.validator.AssertUtils;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityTailingDTO;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityTailingService;
import com.iailab.module.pms.coalquality.modules.detection.vo.TailingPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:37:00
 */
@Slf4j
@RestController
@RequestMapping("/quality/tailing")
@Tag(name = "尾矿检测")
public class QualityTailingController {
    @Autowired
    private QualityTailingService qualityTailingService;
    @GetMapping("page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<QualityTailingDTO>> page(TailingPageReqVO tailingPageReqVO){
        PageResult<QualityTailingDTO> page = qualityTailingService.page(tailingPageReqVO);
        return success(page);
    }
    @GetMapping("{id}")
    @Operation(summary ="信息")
    public CommonResult<QualityTailingDTO> get(@PathVariable("id") String id){
        QualityTailingDTO data = qualityTailingService.get(id);
        return success(data);
    }
    @PostMapping
    @Operation(summary ="保存")
    public CommonResult<Boolean> save(@RequestBody QualityTailingDTO dto){
        qualityTailingService.save(dto);
        return success(true);
    }
    @PutMapping
    @Operation(summary ="修改")
    public CommonResult<Boolean> update(@RequestBody QualityTailingDTO dto){
//
//        if (qualityTailingService.cheack(dto) > 0) {
//            return new CommonResult().error("编号重复");
//        }
        qualityTailingService.update(dto);
        return success(true);
    }
    @DeleteMapping
    @Operation(summary ="删除")
    public CommonResult<Boolean> delete(@RequestBody String[] ids){
        //效验数据
        AssertUtils.isArrayEmpty(ids, "id");
        qualityTailingService.delete(ids);
        return success(true);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/controller/package-info.java
对比新文件
@@ -0,0 +1 @@
package com.iailab.module.pms.coalquality.modules.detection.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityDetectionDao.java
对比新文件
@@ -0,0 +1,30 @@
package com.iailab.module.pms.coalquality.modules.detection.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityDetectionEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.DetectionPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Mapper;
/**
 * 煤质检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 13:12:00
 */
@Mapper
public interface QualityDetectionDao extends BaseMapperX<QualityDetectionEntity> {
    default PageResult<QualityDetectionEntity> selectPage(DetectionPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<QualityDetectionEntity>()
                .like(StringUtils.isNotBlank(reqVO.getCode()), QualityDetectionEntity::getCode, reqVO.getCode())
                .eq(StringUtils.isNotBlank(reqVO.getType()), QualityDetectionEntity::getType, reqVO.getType())
                .eq(StringUtils.isNotBlank(reqVO.getRq()), QualityDetectionEntity::getRq, reqVO.getRq())
                .eq(StringUtils.isNotBlank(reqVO.getBc()), QualityDetectionEntity::getBc, reqVO.getBc())
        );
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityExcelImportDao.java
对比新文件
@@ -0,0 +1,16 @@
package com.iailab.module.pms.coalquality.modules.detection.dao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
 * @author Lujiaxin
 * @Description
 * @createTime 2023年05月11日 11:05:00
 */
@Mapper
public interface QualityExcelImportDao {
    String getXMIdByDictCodeAndName(@Param("name")String name);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityMediumDao.java
对比新文件
@@ -0,0 +1,25 @@
package com.iailab.module.pms.coalquality.modules.detection.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityMediumEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.MediumPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:20:00
 */
@Mapper
public interface QualityMediumDao extends BaseMapperX<QualityMediumEntity> {
    default PageResult<QualityMediumEntity> selectPage(MediumPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<QualityMediumEntity>()
                .eq(StringUtils.isNotBlank(reqVO.getRq()), QualityMediumEntity::getRq, reqVO.getRq())
        );
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityQuickDao.java
对比新文件
@@ -0,0 +1,24 @@
package com.iailab.module.pms.coalquality.modules.detection.dao;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.QuickPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Mapper
public interface QualityQuickDao extends BaseMapperX<QualityQuickEntity> {
    default PageResult<QualityQuickEntity> selectPage(QuickPageReqVO reqVO) {
        return selectPage(reqVO, new QueryWrapper<QualityQuickEntity>()
                .eq(StringUtils.isNotBlank(reqVO.getRq()), "left(datetime,10)", reqVO.getRq())
        );
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityQuickItemDao.java
对比新文件
@@ -0,0 +1,19 @@
package com.iailab.module.pms.coalquality.modules.detection.dao;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickItemEntity;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Mapper
public interface QualityQuickItemDao extends BaseMapperX<QualityQuickItemEntity> {
    @Delete("Delete from t_quality_quick_detection_item where lsh=#{lsh}")
    void deleteByLsh(@Param("lsh") String lsh);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dao/QualityTailingDao.java
对比新文件
@@ -0,0 +1,25 @@
package com.iailab.module.pms.coalquality.modules.detection.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityTailingEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.TailingPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:20:00
 */
@Mapper
public interface QualityTailingDao extends BaseMapperX<QualityTailingEntity> {
    default PageResult<QualityTailingEntity> selectPage(TailingPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<QualityTailingEntity>()
                .eq(StringUtils.isNotBlank(reqVO.getRq()), QualityTailingEntity::getRq, reqVO.getRq())
        );
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityDetectionDTO.java
对比新文件
@@ -0,0 +1,132 @@
package com.iailab.module.pms.coalquality.modules.detection.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.iems.common.annotation.Dict;
import com.iailab.iems.common.validator.group.AddGroup;
import com.iailab.iems.common.validator.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 煤质检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 13:19:00
 */
@Data
@Schema(description = "煤质检测")
public class QualityDetectionDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description = "关联ID")
    private String rglid;
    @Schema(description = "流水号")
    private String code;
    @Schema(description = "煤质检测类型")
    private String type;
    @Schema(description = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private java.util.Date rq;
    @Schema(description = "班次")
    private String bc;
    @Schema(description = "班次")
    @Dict(dicCode = "bc", itemValue = "bc")
    private String bcName;
    @Schema(description = "采样时间")
    private java.util.Date cysj;
    @Schema(description = "采样点")
    private String cyd;
    @Schema(description = "采样点")
    @Dict(dicCode = "cyd", itemValue = "cyd")
    private String cydName;
    @Schema(description = "产量")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cl;
    @Schema(description = "采样数量")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cysl;
    @Schema(description = "化验时间")
    private java.util.Date hysj;
    @Schema(description = "煤种")
    private String mz;
    @Schema(description = "煤种")
    @Dict(dicCode = "ymmz,cpmz,spmz", itemValue = "mz")
    private String mzName;
    @Schema(description = "灰分Ad%")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf;
    @Schema(description = "水分Mt%")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal sf;
    @Schema(description = "硫份St,d%")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal lf;
    @Schema(description = "挥发分Vdaf%")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hff;
    @Schema(description = "粘结GR.I")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal nj;
    @Schema(description = "胶质层Y(㎜)GR.I")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal jzc;
    @Schema(description = "发热量(cal/g)")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal frl;
    @Schema(description = "中损")
    private BigDecimal zs;
    @Schema(description = "矸损")
    private BigDecimal gs;
    @Schema(description = "压滤煤泥灰分Ad%")
    private BigDecimal ylmnHf;
    @Schema(description = "备注")
    private String bz;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建时间")
    private Date createDate;
    @Schema(description = "修改人")
    private String updater;
    @Schema(description = "修改时间")
    private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityMediumDTO.java
对比新文件
@@ -0,0 +1,54 @@
package com.iailab.module.pms.coalquality.modules.detection.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.iems.common.validator.group.AddGroup;
import com.iailab.iems.common.validator.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:30:00
 */
@Data
@Schema(description = "介质粉检测")
public class QualityMediumDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description = "流水号")
    private String code;
    @Schema(description = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private java.util.Date rq;
    @Schema(description = "名称")
    private String mc;
    @Schema(description = "水分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal sf;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建时间")
    private java.util.Date createDate;
    @Schema(description = "修改人")
    private String updater;
    @Schema(description = "修改时间")
    private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQueryDTO.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.coalquality.modules.detection.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月24日 00:23:00
 */
@Data
@Schema(description = "指标查询")
public class QualityQueryDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
    private String index;
    private String mz;
    private String groupType;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickDTO.java
对比新文件
@@ -0,0 +1,44 @@
package com.iailab.module.pms.coalquality.modules.detection.dto;
import com.iailab.iems.common.annotation.Dict;
import com.iailab.iems.common.validator.group.AddGroup;
import com.iailab.iems.common.validator.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Data
@Schema(description =  "快速检查")
public class QualityQuickDTO {
    private static final long serialVersionUID = 1L;
    @Schema(description =  "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description =  "流水号")
    private String lsh;
    @Schema(description =  "采样时间")
    private java.util.Date datetime;
    @Schema(description =  "煤种")
    private String mz;
    @Schema(description =  "煤种")
    @Dict(dicCode = "ymmz", itemValue = "mz")
    private String mzName;
    @Schema(description =  "快速检查详情")
    private List<QualityQuickItemDTO> itemList;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickItemDTO.java
对比新文件
@@ -0,0 +1,86 @@
package com.iailab.module.pms.coalquality.modules.detection.dto;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.iems.common.annotation.Dict;
import com.iailab.iems.common.validator.group.AddGroup;
import com.iailab.iems.common.validator.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.math.BigDecimal;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Data
@Schema(description =  "生产快速检查详情")
public class QualityQuickItemDTO {
    private static final long serialVersionUID = 1L;
    @Schema(description =  "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    @ExcelIgnore
    private String id;
    @Schema(description =  "流水号")
    @ExcelIgnore
    private String lsh;
    @Schema(description =  "压力")
    @ExcelProperty(index = 1)
    private BigDecimal yl;
    @Schema(description =  "密度")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ExcelProperty(index = 2)
    private BigDecimal md;
    @Schema(description =  "项目")
    @ExcelIgnore
    private String xm;
    @Schema(description =  "项目名称")
    @Dict(dicCode = "sckjxm", itemValue = "xm")
    @ExcelProperty(index = 0)
    private String xmName;
    @Schema(description =  "灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf;
    @Schema(description =  "硫分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal lf;
    @Schema(description =  "-1.4浮沉灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf1;
    @Schema(description =  "-1.4浮沉产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cl1;
    @Schema(description =  "1.4-1.8浮沉灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf2;
    @Schema(description =  "1.4-1.8浮沉产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cl2;
    @Schema(description =  "+1.8浮沉灰分")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf3;
    @Schema(description =  "+1.8浮沉产率")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cl3;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityTailingDTO.java
对比新文件
@@ -0,0 +1,75 @@
package com.iailab.module.pms.coalquality.modules.detection.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.iems.common.annotation.Dict;
import com.iailab.iems.common.validator.group.AddGroup;
import com.iailab.iems.common.validator.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:30:00
 */
@Data
@Schema(description = "尾矿检测")
public class QualityTailingDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description = "流水号")
    private String code;
    @Schema(description = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private java.util.Date rq;
    @Schema(description = "班次")
    private String bc;
    @Schema(description = "班次")
    @Dict(dicCode = "bc", itemValue = "bc")
    private String bcName;
    @Schema(description = "采样点")
    private String cyd;
    @Schema(description = "采样点")
    @Dict(dicCode = "cyd", itemValue = "cyd")
    private String cydName;
    @Schema(description = "采样时间")
    private java.util.Date cysj;
    @Schema(description = "化验时间")
    private java.util.Date hysj;
    @Schema(description = "采样数量")
    private BigDecimal cysl;
    @Schema(description = "磁性物含量")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal cxwhl;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建时间")
    private java.util.Date createDate;
    @Schema(description = "修改人")
    private String updater;
    @Schema(description = "修改时间")
    private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityDetectionEntity.java
对比新文件
@@ -0,0 +1,157 @@
package com.iailab.module.pms.coalquality.modules.detection.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 煤质检测
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_quality_detection")
public class QualityDetectionEntity implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * ID
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  /**
   * 关联ID
   */
  private String rglid;
  /**
   * 编号
   */
  private String code;
  /**
   * 煤质检测类型
   */
  private String type;
  /**
   * 日期
   */
  private java.util.Date rq;
  /**
   * 班次
   */
  private String bc;
  /**
   * 采样时间
   */
  private java.util.Date cysj;
  /**
   * 采样点
   */
  private String cyd;
  /**
   * 产量
   */
  private BigDecimal cl;
  /**
   * 采样数量
   */
  private BigDecimal cysl;
  /**
   * 化验时间
   */
  private java.util.Date hysj;
  /**
   * 煤种
   */
  private String mz;
  /**
   * 灰分Ad%
   */
  private BigDecimal hf;
  /**
   * 水分Mt%
   */
  private BigDecimal sf;
  /**
   * 硫份St,d%
   */
  private BigDecimal lf;
  /**
   * 挥发分Vdaf%
   */
  private BigDecimal hff;
  /**
   * 粘结GR.I
   */
  private BigDecimal nj;
  /**
   * 胶质层Y(㎜)GR.I
   */
  private BigDecimal jzc;
  /**
   * 发热量(cal/g)
   */
  private BigDecimal frl;
  /**
   * 中损
   */
  private BigDecimal zs;
  /**
   * 矸损
   */
  private BigDecimal gs;
  /**
   * 压滤煤泥灰分Ad%
   */
  private BigDecimal ylmnHf;
  /**
   * 备注
   */
  private String bz;
  /**
   * 创建人
   */
  private String creator;
  /**
   * 创建时间
   */
  private java.util.Date createDate;
  /**
   * 修改人
   */
  private String updater;
  /**
   * 修改时间
   */
  private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityMediumEntity.java
对比新文件
@@ -0,0 +1,70 @@
package com.iailab.module.pms.coalquality.modules.detection.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 介质粉检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:13:00
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_quality_medium")
public class QualityMediumEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 流水号
     */
    private String code;
    /**
     * 日期
     */
    private java.util.Date rq;
    /**
     * 名称
     */
    private String mc;
    /**
     * 水分
     */
    private BigDecimal sf;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 创建时间
     */
    private java.util.Date createDate;
    /**
     * 修改人
     */
    private String updater;
    /**
     * 修改时间
     */
    private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityQuickEntity.java
对比新文件
@@ -0,0 +1,43 @@
package com.iailab.module.pms.coalquality.modules.detection.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_quality_quick_detection")
public class QualityQuickEntity {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 采样时间
     */
    private Date datetime;
    /**
     * 煤种
     */
    private String mz;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityQuickItemEntity.java
对比新文件
@@ -0,0 +1,76 @@
package com.iailab.module.pms.coalquality.modules.detection.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_quality_quick_detection_item")
public class QualityQuickItemEntity {
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 项目
     */
    private String xm;
    /**
     * 压力
     */
    private BigDecimal yl;
    /**
     * 密度
     */
    private BigDecimal md;
    /**
     * 灰分
     */
    private BigDecimal hf;
    /**
     * 硫分
     */
    private BigDecimal lf;
    /**
     * -1.4浮沉灰分
     */
    private BigDecimal hf1;
    /**
     * -1.4浮沉产率
     */
    private BigDecimal cl1;
    /**
     * 1.4-1.8浮沉灰分
     */
    private BigDecimal hf2;
    /**
     * 1.4-1.8浮沉产率
     */
    private BigDecimal cl2;
    /**
     * +1.8浮沉灰分
     */
    private BigDecimal hf3;
    /**
     * +1.8浮沉产率
     */
    private BigDecimal cl3;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/entity/QualityTailingEntity.java
对比新文件
@@ -0,0 +1,90 @@
package com.iailab.module.pms.coalquality.modules.detection.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 尾矿检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:13:00
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_quality_tailing")
public class QualityTailingEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 流水号
     */
    private String code;
    /**
     * 日期
     */
    private java.util.Date rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 采样点
     */
    private String cyd;
    /**
     * 采样时间
     */
    private java.util.Date cysj;
    /**
     * 化验时间
     */
    private java.util.Date hysj;
    /**
     * 采样数量
     */
    private BigDecimal cysl;
    /**
     * 磁性物含量
     */
    private BigDecimal cxwhl;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 创建时间
     */
    private java.util.Date createDate;
    /**
     * 修改人
     */
    private String updater;
    /**
     * 修改时间
     */
    private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityDetectionService.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.coalquality.modules.detection.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityDetectionDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityDetectionEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.DetectionPageReqVO;
/**
 * 煤质检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 13:14:00
 */
public interface QualityDetectionService extends BaseService<QualityDetectionEntity> {
    PageResult<QualityDetectionDTO> page(DetectionPageReqVO reqVO);
    QualityDetectionDTO get(String id);
    void save(QualityDetectionDTO dto);
    void update(QualityDetectionDTO dto);
    void delete(String[] ids);
    Long cheack(QualityDetectionDTO dto);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityMediumService.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.coalquality.modules.detection.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityMediumDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityMediumEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.MediumPageReqVO;
/**
 * 介质粉检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:25:00
 */
public interface QualityMediumService extends BaseService<QualityMediumEntity> {
    PageResult<QualityMediumDTO> page(MediumPageReqVO mediumPageReqVO);
    QualityMediumDTO get(String id);
    void save(QualityMediumDTO dto);
    void update(QualityMediumDTO dto);
    void delete(String[] ids);
    Long cheack(QualityMediumDTO dto);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityQuickItemService.java
对比新文件
@@ -0,0 +1,30 @@
package com.iailab.module.pms.coalquality.modules.detection.service;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickItemDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickItemEntity;
import java.util.List;
import java.util.Map;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
public interface QualityQuickItemService extends BaseService<QualityQuickItemEntity> {
    QualityQuickItemDTO get(String id);
    void save(QualityQuickItemDTO dto);
    void update(QualityQuickItemDTO dto);
    void delete(String[] ids);
    List<QualityQuickItemDTO> queryList(Map<String, Object> parmas);
    void deleteByLsh(String lsh);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityQuickService.java
对比新文件
@@ -0,0 +1,27 @@
package com.iailab.module.pms.coalquality.modules.detection.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.QuickPageReqVO;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
public interface QualityQuickService extends BaseService<QualityQuickEntity> {
    PageResult<QualityQuickDTO> page(QuickPageReqVO quickPageReqVO);
    QualityQuickDTO get(String id);
    void save(QualityQuickDTO dto);
    void update(QualityQuickDTO dto);
    void delete(String[] ids);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/QualityTailingService.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.coalquality.modules.detection.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityTailingDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityTailingEntity;
import com.iailab.module.pms.coalquality.modules.detection.vo.TailingPageReqVO;
/**
 * 尾矿检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:25:00
 */
public interface QualityTailingService extends BaseService<QualityTailingEntity> {
    PageResult<QualityTailingDTO> page(TailingPageReqVO tailingPageReqVO);
    QualityTailingDTO get(String id);
    void save(QualityTailingDTO dto);
    void update(QualityTailingDTO dto);
    void delete(String[] ids);
    Long cheack(QualityTailingDTO dto);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityDetectionServiceImpl.java
对比新文件
@@ -0,0 +1,97 @@
package com.iailab.module.pms.coalquality.modules.detection.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.iems.common.utils.ConvertUtils;
import com.iailab.iems.common.utils.SerialNumUtils;
import com.iailab.module.pms.coalquality.modules.detection.dao.QualityDetectionDao;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityDetectionDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityDetectionEntity;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityDetectionService;
import com.iailab.module.pms.coalquality.modules.detection.vo.DetectionPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
 * 煤质检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 13:15:00
 */
@Service
public class QualityDetectionServiceImpl extends BaseServiceImpl<QualityDetectionDao, QualityDetectionEntity>
        implements QualityDetectionService {
    @Autowired
    private SerialNumUtils serialNumUtils;
    private Map<String, String> prefixMap = new HashMap<>();
    private String BUSINESS_CODE = "QualityDetection";
    @Override
    public PageResult<QualityDetectionDTO> page(DetectionPageReqVO reqVO) {
        PageResult<QualityDetectionEntity> page = baseDao.selectPage(reqVO);
        return BeanUtils.toBean(page, QualityDetectionDTO.class);
    }
    @Override
    public QualityDetectionDTO get(String id) {
        QualityDetectionEntity entity = baseDao.selectById(id);
        return ConvertUtils.sourceToTarget(entity, QualityDetectionDTO.class);
    }
    @Override
    public void save(QualityDetectionDTO dto) {
        if (CollectionUtils.isEmpty(prefixMap)) {
            prefixMap.put("ym", "10");
            prefixMap.put("cpm", "20");
            prefixMap.put("spm", "30");
        }
        QualityDetectionEntity entity = ConvertUtils.sourceToTarget(dto, QualityDetectionEntity.class);
        entity.setCode(prefixMap.get(dto.getType()) + serialNumUtils.getByBusinessDate(BUSINESS_CODE + dto.getType(), dto.getRq(), 4));
        entity.setCreateDate(new Date());
//        entity.setCreator(SecurityUser.getUserId().toString());
        insert(entity);
    }
    @Override
    public void update(QualityDetectionDTO dto) {
        QualityDetectionEntity entity = ConvertUtils.sourceToTarget(dto, QualityDetectionEntity.class);
        entity.setUpdateDate(new Date());
//        entity.setUpdater(SecurityUser.getUserId().toString());
        updateById(entity);
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        baseDao.deleteByIds(Arrays.asList(ids));
    }
    @Override
    public Long cheack(QualityDetectionDTO dto) {
        String id = dto.getId();
        String code = dto.getCode();
        QueryWrapper<QualityDetectionEntity> queryWrapper = new QueryWrapper<>();
        queryWrapper.ne(StringUtils.isNotBlank(id), "id", id);
        queryWrapper.and(wrapper -> wrapper.eq("code", code));
        return baseDao.selectCount(queryWrapper);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityMediumServiceImpl.java
对比新文件
@@ -0,0 +1,90 @@
package com.iailab.module.pms.coalquality.modules.detection.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.iems.common.utils.SerialNumUtils;
import com.iailab.module.pms.coalquality.modules.detection.dao.QualityMediumDao;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityMediumDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityMediumEntity;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityMediumService;
import com.iailab.module.pms.coalquality.modules.detection.vo.MediumPageReqVO;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.Date;
/**
 * 介质粉检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:27:00
 */
@Slf4j
@Service
public class QualityMediumServiceImpl extends BaseServiceImpl<QualityMediumDao, QualityMediumEntity>
        implements QualityMediumService {
    @Autowired
    private SerialNumUtils serialNumUtils;
    private String BUSINESS_CODE = "QualityMedium";
    @Override
    public PageResult<QualityMediumDTO> page(MediumPageReqVO reqVO) {
        PageResult<QualityMediumEntity> page = baseDao.selectPage(reqVO);
        return BeanUtils.toBean(page, QualityMediumDTO.class);
    }
    @Override
    public QualityMediumDTO get(String id) {
        QualityMediumEntity entity = baseDao.selectById(id);
        return ConvertUtils.sourceToTarget(entity, QualityMediumDTO.class);
    }
    @Override
    public void save(QualityMediumDTO dto) {
        dto.setCode(serialNumUtils.getByBusinessDate(BUSINESS_CODE, dto.getRq(), 4));
        QualityMediumEntity entity = ConvertUtils.sourceToTarget(dto, QualityMediumEntity.class);
        entity.setCreateDate(new Date());
//        entity.setCreator(SecurityUser.getUserId().toString());
        insert(entity);
    }
    @Override
    public void update(QualityMediumDTO dto) {
        QualityMediumEntity entity = ConvertUtils.sourceToTarget(dto, QualityMediumEntity.class);
        entity.setUpdateDate(new Date());
//        entity.setUpdater(SecurityUser.getUserId().toString());
        updateById(entity);
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        baseDao.deleteBatchIds(Arrays.asList(ids));
    }
    @Override
    public Long cheack(QualityMediumDTO dto) {
        String id = dto.getId();
        String code = dto.getCode();
        QueryWrapper<QualityMediumEntity> queryWrapper = new QueryWrapper<>();
        queryWrapper.ne(StringUtils.isNotBlank(id), "id", id);
        queryWrapper.and(wrapper -> wrapper.eq("code", code));
        return baseDao.selectCount(queryWrapper);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityQuickItemServiceImpl.java
对比新文件
@@ -0,0 +1,77 @@
package com.iailab.module.pms.coalquality.modules.detection.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.module.pms.coalquality.modules.detection.dao.QualityQuickItemDao;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickItemDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickItemEntity;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityQuickItemService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Slf4j
@Service
public class QualityQuickItemServiceImpl extends BaseServiceImpl<QualityQuickItemDao, QualityQuickItemEntity>
        implements QualityQuickItemService {
    @Override
    public QualityQuickItemDTO get(String id) {
        QualityQuickItemEntity entity = baseDao.selectById(id);
        return ConvertUtils.sourceToTarget(entity, QualityQuickItemDTO.class);
    }
    @Override
    public void save(QualityQuickItemDTO dto) {
        QualityQuickItemEntity entity = ConvertUtils.sourceToTarget(dto, QualityQuickItemEntity.class);
        insert(entity);
    }
    @Override
    public void update(QualityQuickItemDTO dto) {
        QualityQuickItemEntity entity = ConvertUtils.sourceToTarget(dto, QualityQuickItemEntity.class);
        updateById(entity);
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        baseDao.deleteBatchIds(Arrays.asList(ids));
    }
    @Override
    public List<QualityQuickItemDTO> queryList(Map<String, Object> params) {
        List<QualityQuickItemEntity> list = baseDao.selectList(getWrapper(params));
        return ConvertUtils.sourceToTarget(list, QualityQuickItemDTO.class);
    }
    @Override
    public void deleteByLsh(String lsh) {
        baseDao.deleteByLsh(lsh);
    }
    private QueryWrapper<QualityQuickItemEntity> getWrapper(Map<String, Object> params) {
        String lsh = (String) params.get("lsh");
        QueryWrapper<QualityQuickItemEntity> wrapper = new QueryWrapper<>();
        wrapper.eq(StringUtils.isNotBlank(lsh), "lsh", lsh).orderByAsc("lsh");
        return wrapper;
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityQuickServiceImpl.java
对比新文件
@@ -0,0 +1,99 @@
package com.iailab.module.pms.coalquality.modules.detection.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.iems.common.utils.SerialNumUtils;
import com.iailab.module.pms.coalquality.modules.detection.dao.QualityQuickDao;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickDTO;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityQuickItemDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickEntity;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityQuickItemService;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityQuickService;
import com.iailab.module.pms.coalquality.modules.detection.vo.QuickPageReqVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年12月27日 9:53:00
 */
@Slf4j
@Service
public class QualityQuickServiceImpl extends BaseServiceImpl<QualityQuickDao, QualityQuickEntity>
        implements QualityQuickService {
    @Autowired
    private SerialNumUtils serialNumUtils;
    private String BUSINESS_CODE = "QualityQuick";
    @Autowired
    private QualityQuickItemService qualityQuickItemService;
    @Override
    public PageResult<QualityQuickDTO> page(QuickPageReqVO reqVO) {
        PageResult<QualityQuickEntity> page = baseDao.selectPage(reqVO);
        return BeanUtils.toBean(page, QualityQuickDTO.class);
    }
    @Override
    public QualityQuickDTO get(String id) {
        QualityQuickEntity entity = baseDao.selectById(id);
        QualityQuickDTO dto = ConvertUtils.sourceToTarget(entity, QualityQuickDTO.class);
        Map<String, Object> parmas = new HashMap<>(1);
        parmas.put("lsh", dto.getLsh());
        List<QualityQuickItemDTO> itemList = qualityQuickItemService.queryList(parmas);
        dto.setItemList(itemList);
        return dto;
    }
    @Override
    public void save(QualityQuickDTO dto) {
        dto.setLsh(serialNumUtils.getByBusinessDate(BUSINESS_CODE, dto.getDatetime(), 4));
        QualityQuickEntity entity = ConvertUtils.sourceToTarget(dto, QualityQuickEntity.class);
        insert(entity);
        dto.getItemList().stream().forEach(
                item->{
                    item.setLsh(dto.getLsh());
                    qualityQuickItemService.save(item);
                }
        );
    }
    @Override
    public void update(QualityQuickDTO dto) {
        QualityQuickEntity entity = ConvertUtils.sourceToTarget(dto, QualityQuickEntity.class);
        updateById(entity);
        qualityQuickItemService.deleteByLsh(dto.getLsh());
        dto.getItemList().forEach(
                item->{
                    item.setLsh(dto.getLsh());
                    qualityQuickItemService.save(item);
                    }
        );
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        QualityQuickEntity dto = baseDao.selectById(ids[0]);
        baseDao.deleteByIds(Arrays.asList(ids));
        qualityQuickItemService.deleteByLsh(dto.getLsh());
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/service/impl/QualityTailingServiceImpl.java
对比新文件
@@ -0,0 +1,100 @@
package com.iailab.module.pms.coalquality.modules.detection.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.iems.common.utils.SerialNumUtils;
import com.iailab.module.pms.coalquality.modules.detection.dao.QualityTailingDao;
import com.iailab.module.pms.coalquality.modules.detection.dto.QualityTailingDTO;
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityTailingEntity;
import com.iailab.module.pms.coalquality.modules.detection.service.QualityTailingService;
import com.iailab.module.pms.coalquality.modules.detection.vo.TailingPageReqVO;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.Date;
import java.util.Map;
/**
 * 尾矿检测
 *
 * @author PanZhibao
 * @Description
 * @createTime 2023年02月07日 17:27:00
 */
@Slf4j
@Service
public class QualityTailingServiceImpl extends BaseServiceImpl<QualityTailingDao, QualityTailingEntity>
        implements QualityTailingService {
    @Autowired
    private SerialNumUtils serialNumUtils;
    private String BUSINESS_CODE = "QualityTailing";
    @Override
    public PageResult<QualityTailingDTO> page(TailingPageReqVO reqVO) {
        PageResult<QualityTailingEntity> page = baseDao.selectPage(reqVO);
        return BeanUtils.toBean(page, QualityTailingDTO.class);
    }
    private QueryWrapper<QualityTailingEntity> getWrapper(Map<String, Object> params){
        String rq = (String)params.get("rq");
        QueryWrapper<QualityTailingEntity> wrapper = new QueryWrapper<>();
        wrapper.eq(StringUtils.isNotBlank(rq), "rq", rq);
        return wrapper;
    }
    @Override
    public QualityTailingDTO get(String id) {
        QualityTailingEntity entity = baseDao.selectById(id);
        return ConvertUtils.sourceToTarget(entity, QualityTailingDTO.class);
    }
    @Override
    public void save(QualityTailingDTO dto) {
        dto.setCode(SerialNumUtils.getSerialNum("", dto.getRq(), dto.getBc()));
        QualityTailingEntity entity = ConvertUtils.sourceToTarget(dto, QualityTailingEntity.class);
        entity.setCreateDate(new Date());
//        entity.setCreator(SecurityUser.getUserId().toString());
        insert(entity);
    }
    @Override
    public void update(QualityTailingDTO dto) {
        QualityTailingEntity entity = ConvertUtils.sourceToTarget(dto, QualityTailingEntity.class);
        entity.setUpdateDate(new Date());
//        entity.setUpdater(SecurityUser.getUserId().toString());
        updateById(entity);
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        baseDao.deleteBatchIds(Arrays.asList(ids));
    }
    @Override
    public Long cheack(QualityTailingDTO dto) {
        String id = dto.getId();
        String code = dto.getCode();
        QueryWrapper<QualityTailingEntity> queryWrapper = new QueryWrapper<>();
        queryWrapper.ne(StringUtils.isNotBlank(id), "id", id);
        queryWrapper.and(wrapper -> wrapper.eq("code", code));
        return baseDao.selectCount(queryWrapper);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/DetectionPageReqVO.java
对比新文件
@@ -0,0 +1,35 @@
package com.iailab.module.pms.coalquality.modules.detection.vo;
import com.iailab.framework.common.pojo.PageParam;
import lombok.Data;
/**
 * 原子指标
 *
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月11日
 */
@Data
public class DetectionPageReqVO extends PageParam {
    /**
     * 流水号
     */
    private String code;
    /**
     * 类型
     */
    private String type;
    /**
     * 流水号
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/MediumPageReqVO.java
对比新文件
@@ -0,0 +1,20 @@
package com.iailab.module.pms.coalquality.modules.detection.vo;
import com.iailab.framework.common.pojo.PageParam;
import lombok.Data;
/**
 * 原子指标
 *
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月11日
 */
@Data
public class MediumPageReqVO extends PageParam {
    /**
     * 年月
     */
    private String rq;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/QuickPageReqVO.java
对比新文件
@@ -0,0 +1,20 @@
package com.iailab.module.pms.coalquality.modules.detection.vo;
import com.iailab.framework.common.pojo.PageParam;
import lombok.Data;
/**
 * 原子指标
 *
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月11日
 */
@Data
public class QuickPageReqVO extends PageParam {
    /**
     * 年月
     */
    private String rq;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/vo/TailingPageReqVO.java
对比新文件
@@ -0,0 +1,20 @@
package com.iailab.module.pms.coalquality.modules.detection.vo;
import com.iailab.framework.common.pojo.PageParam;
import lombok.Data;
/**
 * 原子指标
 *
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月11日
 */
@Data
public class TailingPageReqVO extends PageParam {
    /**
     * 年月
     */
    private String rq;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/controller/admin/QualityWashTargetController.java
对比新文件
@@ -0,0 +1,81 @@
package com.iailab.module.pms.coalquality.modules.wash.controller.admin;
import com.iailab.framework.common.annotation.AutoDict;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.iems.common.utils.Result;
import com.iailab.iems.common.validator.AssertUtils;
import com.iailab.iems.common.validator.ValidatorUtils;
import com.iailab.iems.common.validator.group.AddGroup;
import com.iailab.iems.common.validator.group.DefaultGroup;
import com.iailab.iems.common.validator.group.UpdateGroup;
import com.iailab.module.pms.coalquality.modules.wash.dto.QualityWashTargetDTO;
import com.iailab.module.pms.coalquality.modules.wash.service.QualityWashTargetService;
import com.iailab.module.pms.coalquality.modules.wash.vo.WashTargetPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年12月12日 13:34:00
 */
@RestController
@RequestMapping("/coal-quality/wash/target")
@Tag(name = "入洗原煤指标")
public class QualityWashTargetController {
    @Autowired
    private QualityWashTargetService qualityWashTargetService;
    @GetMapping("/page")
    @AutoDict
    public CommonResult<PageResult<QualityWashTargetDTO>> page(WashTargetPageReqVO washTargetPageReqVO) {
        PageResult<QualityWashTargetDTO> page = qualityWashTargetService.page(washTargetPageReqVO);
        return success(page);
    }
    @GetMapping("/get")
    @Operation(summary = "信息")
    public Result<QualityWashTargetDTO> get(String id) {
        QualityWashTargetDTO data = qualityWashTargetService.get(id);
        return new Result<QualityWashTargetDTO>().ok(data);
    }
    @PostMapping
    @Operation(summary = "保存")
    public CommonResult<Boolean> save(@RequestBody QualityWashTargetDTO dto) {
        //效验数据
        ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
        qualityWashTargetService.save(dto);
        return success(true);
    }
    @PutMapping
    @Operation(summary = "修改")
    public CommonResult<Boolean> update(@RequestBody QualityWashTargetDTO dto) {
        //效验数据
        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
        qualityWashTargetService.update(dto);
        return success(true);
    }
    @DeleteMapping
    @Operation(summary = "删除")
    public CommonResult<Boolean> delete(@RequestBody String[] ids) {
        //效验数据
        AssertUtils.isArrayEmpty(ids, "id");
        qualityWashTargetService.delete(ids);
        return success(true);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/controller/package-info.java
对比新文件
@@ -0,0 +1 @@
package com.iailab.module.pms.coalquality.modules.wash.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/dao/QualityWashTargetDao.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.coalquality.modules.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.coalquality.modules.wash.entity.QualityWashTargetEntity;
import com.iailab.module.pms.coalquality.modules.wash.vo.WashTargetPageReqVO;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年12月12日 13:30:00
 */
@Mapper
public interface QualityWashTargetDao extends BaseMapperX<QualityWashTargetEntity> {
    default PageResult<QualityWashTargetEntity> selectPage(WashTargetPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<QualityWashTargetEntity>()
                .eqIfPresent(QualityWashTargetEntity::getNy, reqVO.getNy()));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/dto/QualityWashTargetDTO.java
对比新文件
@@ -0,0 +1,106 @@
package com.iailab.module.pms.coalquality.modules.wash.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.iems.common.annotation.Dict;
import com.iailab.iems.common.validator.group.AddGroup;
import com.iailab.iems.common.validator.group.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年12月12日 13:29:00
 */
@Data
@Schema(description = "入洗原煤指标")
public class QualityWashTargetDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    @Null(message="{id.null}", groups = AddGroup.class)
    @NotNull(message="{id.require}", groups = UpdateGroup.class)
    private String id;
    @Schema(description = "年月")
    private String ny;
    @Schema(description = "煤种")
    private String mz;
    @Dict(dicCode = "ymmz", itemValue = "mz")
    @Schema(description = "煤种")
    private String mzName;
    @Schema(description = "用煤单位")
    private String ymdw;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "产品量")
    private BigDecimal cpl;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "原煤水分Mt%")
    private BigDecimal ymSf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "原煤灰分Ad%")
    private BigDecimal ymHf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "原煤硫份St,d%")
    private BigDecimal ymLf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "精煤水分Mt%")
    private BigDecimal jmSf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "精煤灰分Ad%")
    private BigDecimal jmHf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "精煤硫份St,d%")
    private BigDecimal jmLf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "精煤挥发分Vdaf%")
    private BigDecimal jmHff;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "精煤粘结GR.I")
    private BigDecimal jmNj;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "精煤胶质层Y(㎜)GR.I")
    private BigDecimal jmJzc;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "中煤灰分Ad%")
    private BigDecimal zmHf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "中煤硫份St,d%")
    private BigDecimal zmLf;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "矸石灰分Ad%")
    private BigDecimal gsHf;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建时间")
    private java.util.Date createDate;
    @Schema(description = "修改人")
    private String updater;
    @Schema(description = "修改时间")
    private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/entity/QualityWashTargetEntity.java
对比新文件
@@ -0,0 +1,124 @@
package com.iailab.module.pms.coalquality.modules.wash.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_quality_wash_target")
public class QualityWashTargetEntity implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * ID
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  /**
   * 年月
   */
  private String ny;
  /**
   * 煤种
   */
  private String mz;
  /**
   * 用煤单位
   */
  private String ymdw;
  /**
   * 产品量
   */
  private BigDecimal cpl;
  /**
   * 原煤水分Mt%
   */
  private BigDecimal ymSf;
  /**
   * 原煤灰分Ad%
   */
  private BigDecimal ymHf;
  /**
   * 原煤硫份St,d%
   */
  private BigDecimal ymLf;
  /**
   * 精煤水分Mt%
   */
  private BigDecimal jmSf;
  /**
   * 精煤灰分Ad%
   */
  private BigDecimal jmHf;
  /**
   * 精煤硫份St,d%
   */
  private BigDecimal jmLf;
  /**
   * 精煤挥发分Vdaf%
   */
  private BigDecimal jmHff;
  /**
   * 精煤粘结GR.I
   */
  private BigDecimal jmNj;
  /**
   * 精煤胶质层Y(㎜)GR.I
   */
  private BigDecimal jmJzc;
  /**
   * 中煤灰分Ad%
   */
  private BigDecimal zmHf;
  /**
   * 中煤硫份St,d%
   */
  private BigDecimal zmLf;
  /**
   * 矸石灰分Ad%
   */
  private BigDecimal gsHf;
  /**
   * 创建人
   */
  private String creator;
  /**
   * 创建时间
   */
  private java.util.Date createDate;
  /**
   * 修改人
   */
  private String updater;
  /**
   * 修改时间
   */
  private java.util.Date updateDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/service/QualityWashTargetService.java
对比新文件
@@ -0,0 +1,26 @@
package com.iailab.module.pms.coalquality.modules.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.module.pms.coalquality.modules.wash.dto.QualityWashTargetDTO;
import com.iailab.module.pms.coalquality.modules.wash.entity.QualityWashTargetEntity;
import com.iailab.module.pms.coalquality.modules.wash.vo.WashTargetPageReqVO;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年12月12日 13:35:00
 */
public interface QualityWashTargetService extends BaseService<QualityWashTargetEntity> {
    PageResult<QualityWashTargetDTO> page(WashTargetPageReqVO washTargetPageReqVO);
    QualityWashTargetDTO get(String id);
    void save(QualityWashTargetDTO dto);
    void update(QualityWashTargetDTO dto);
    void delete(String[] ids);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/service/impl/QualityWashTargetServiceImpl.java
对比新文件
@@ -0,0 +1,78 @@
package com.iailab.module.pms.coalquality.modules.wash.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.impl.BaseServiceImpl;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.framework.common.util.object.ConvertUtils;
import com.iailab.module.pms.coalquality.modules.wash.dao.QualityWashTargetDao;
import com.iailab.module.pms.coalquality.modules.wash.dto.QualityWashTargetDTO;
import com.iailab.module.pms.coalquality.modules.wash.entity.QualityWashTargetEntity;
import com.iailab.module.pms.coalquality.modules.wash.service.QualityWashTargetService;
import com.iailab.module.pms.coalquality.modules.wash.vo.WashTargetPageReqVO;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.Date;
import java.util.Map;
/**
 * @author PanZhibao
 * @Description
 * @createTime 2023年12月12日 13:36:00
 */
@Service
public class QualityWashTargetServiceImpl extends BaseServiceImpl<QualityWashTargetDao, QualityWashTargetEntity>
        implements QualityWashTargetService {
    @Override
    public PageResult<QualityWashTargetDTO> page(WashTargetPageReqVO washTargetPageReqVO) {
        PageResult<QualityWashTargetEntity> page = baseDao.selectPage(washTargetPageReqVO);
        return BeanUtils.toBean(page, QualityWashTargetDTO.class);
    }
    private QueryWrapper<QualityWashTargetEntity> getWrapper(Map<String, Object> params){
        String code = (String)params.get("code");
        String cyrq = (String)params.get("cyrq");
        QueryWrapper<QualityWashTargetEntity> wrapper = new QueryWrapper<>();
        wrapper.like(StringUtils.isNotBlank(code), "code", code)
                .eq(StringUtils.isNotBlank(cyrq), "cyrq", cyrq);
        return wrapper;
    }
    @Override
    public QualityWashTargetDTO get(String id) {
        QualityWashTargetEntity entity = baseDao.selectById(id);
        return ConvertUtils.sourceToTarget(entity, QualityWashTargetDTO.class);
    }
    @Override
    public void save(QualityWashTargetDTO dto) {
        QualityWashTargetEntity entity = ConvertUtils.sourceToTarget(dto, QualityWashTargetEntity.class);
        entity.setCreateDate(new Date());
//        entity.setCreator(SecurityUser.getUserId().toString());
        insert(entity);
    }
    @Override
    public void update(QualityWashTargetDTO dto) {
        QualityWashTargetEntity entity = ConvertUtils.sourceToTarget(dto, QualityWashTargetEntity.class);
        entity.setUpdateDate(new Date());
//        entity.setUpdater(SecurityUser.getUserId().toString());
        updateById(entity);
    }
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delete(String[] ids) {
        baseDao.deleteByIds(Arrays.asList(ids));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/wash/vo/WashTargetPageReqVO.java
对比新文件
@@ -0,0 +1,29 @@
package com.iailab.module.pms.coalquality.modules.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * 原子指标
 *
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月11日
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WashTargetPageReqVO extends PageParam {
    /**
     * 流水号
     */
    private String code;
    /**
     * 年月
     */
    private String ny;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/config/SystemDBInitConfiguration.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/auth/AuthController.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/DemoController.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/vo/DemoPageReqVO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/vo/DemoRespVO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/demo/vo/DemoSaveReqVO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/admin/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/app/ip/AppAreaController.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/app/ip/vo/AppAreaNodeRespVO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/app/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/dataobject/demo/DemoDO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/dataobject/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/mysql/demo/DemoMapper.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/dal/mysql/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/captcha/config/IailabCaptchaConfiguration.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/captcha/core/RedisCaptchaServiceImpl.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/captcha/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/framework/security/config/SecurityConfiguration.java
@@ -21,17 +21,20 @@
            public void customize(AuthorizeHttpRequestsConfigurer<HttpSecurity>.AuthorizationManagerRequestMatcherRegistry registry) {
                // TODO iailab:这个每个项目都需要重复配置,得捉摸有没通用的方案
                // Swagger 接口文档
                registry.requestMatchers("/v3/api-docs/**").permitAll() // 元数据
                        .requestMatchers("/swagger-ui.html").permitAll(); // Swagger UI
                registry.requestMatchers("/v3/api-docs/**").permitAll()
                        .requestMatchers("/webjars/**").permitAll()
                        .requestMatchers("/swagger-ui").permitAll()
                        .requestMatchers("/swagger-ui/**").permitAll();
                // Druid 监控
                registry.requestMatchers("/druid/**").anonymous();
                registry.requestMatchers("/druid/**").permitAll();
                // Spring Boot Actuator 的安全配置
                registry.requestMatchers("/actuator").anonymous()
                        .requestMatchers("/actuator/**").anonymous();
                registry.requestMatchers("/actuator").permitAll()
                        .requestMatchers("/actuator/**").permitAll();
                // RPC 服务的安全配置
                registry.requestMatchers(ApiConstants.PREFIX + "/**").permitAll();
            }
        };
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/config/ScheduleConfig.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/controller/admin/ScheduleJobController.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/controller/admin/ScheduleJobLogController.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/controller/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dao/ScheduleJobDao.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dao/ScheduleJobLogDao.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dto/ScheduleJobDTO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/dto/ScheduleJobLogDTO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/entity/ScheduleJobEntity.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/entity/ScheduleJobLogEntity.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/init/JobCommandLineRunner.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/ScheduleJobLogService.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/ScheduleJobService.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/impl/ScheduleJobLogServiceImpl.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/service/impl/ScheduleJobServiceImpl.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/task/ITask.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/task/TestTask.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/utils/ScheduleJob.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/utils/ScheduleUtils.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/job/vo/ScheduleJobReqVO.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/controller/admin/RunTimeController.java
对比新文件
@@ -0,0 +1,67 @@
package com.iailab.module.pms.production.device.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.device.entity.RunTimeEntity;
import com.iailab.module.pms.production.device.service.RunTimeService;
import com.iailab.module.pms.production.device.vo.RunTimePageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 运行时长统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月10日 11:15:00
 */
@RestController
@RequestMapping("/prod/device/runTime")
public class RunTimeController {
    @Resource
    private RunTimeService runTimeService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createRunTime(@Valid @RequestBody RunTimeEntity createEntity) {
        return success(runTimeService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateRunTime(@Valid @RequestBody RunTimeEntity updateEntity) {
        runTimeService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteRunTime(@RequestParam("id") String id) {
        runTimeService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<RunTimeEntity> getRunTime(@RequestParam("id") String id) {
        RunTimeEntity data = runTimeService.getInfo(id);
        return success(BeanUtils.toBean(data, RunTimeEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<RunTimeEntity>> getRunTimePage(@Valid RunTimePageReqVO pageVO) {
        PageResult<RunTimeEntity> pageResult = runTimeService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, RunTimeEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/controller/package-info.java
copy from iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java copy to iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/controller/package-info.java
文件从 iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java 复制
@@ -3,4 +3,4 @@
 * 1. admin 包:提供给管理后台 iailab-ui-admin 前端项目
 * 2. app 包:提供给用户 APP iailab-ui-app 前端项目,它的 Controller 和 VO 都要添加 App 前缀,用于和管理后台进行区分
 */
package com.iailab.module.pms.controller;
package com.iailab.module.pms.production.device.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/dao/RunTimeDao.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.device.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.device.entity.RunTimeEntity;
import com.iailab.module.pms.production.device.vo.RunTimePageReqVO;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年01月10日 11:15:00
 */
@Mapper
public interface RunTimeDao extends BaseMapperX<RunTimeEntity> {
    default PageResult<RunTimeEntity> selectPage(RunTimePageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<RunTimeEntity>()
                .orderByDesc(RunTimeEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/entity/RunTimeEntity.java
对比新文件
@@ -0,0 +1,112 @@
package com.iailab.module.pms.production.device.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年02月28日 17:30:14
 */
@Data
@TableName("t_device_run_time")
public class RunTimeEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 班次名称
     */
    @TableField(exist = false)
    private String bcName;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 时长项目
     */
    private String scxm;
    /**
     * 时长项目名称
     */
    @TableField(exist = false)
    private String scxmName;
    /**
     * 时长项目类型
     */
    private String runTimeType;
    /**
     * 时长项目类型名称
     */
    @TableField(exist = false)
    private String runTimeTypeName;
    /**
     * 小时数
     */
    private Long xss;
    /**
     * 分钟数
     */
    private Long fzs;
    /**
     * 总时长(分钟)
     */
    private Long zsc;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/service/RunTimeService.java
对比新文件
@@ -0,0 +1,25 @@
package com.iailab.module.pms.production.device.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.device.entity.RunTimeEntity;
import com.iailab.module.pms.production.device.vo.RunTimePageReqVO;
/**
 * 运行时长统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月10日 11:10:00
 */
public interface RunTimeService{
    String create(RunTimeEntity createEntity);
    String update(RunTimeEntity createEntity);
    void delete(String id);
    RunTimeEntity getInfo(String id);
    PageResult<RunTimeEntity> getPage(RunTimePageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/service/impl/RunTimeServiceImpl.java
对比新文件
@@ -0,0 +1,58 @@
package com.iailab.module.pms.production.device.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.device.dao.RunTimeDao;
import com.iailab.module.pms.production.device.entity.RunTimeEntity;
import com.iailab.module.pms.production.device.service.RunTimeService;
import com.iailab.module.pms.production.device.vo.RunTimePageReqVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.*;
/**
 * 运行时长统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月10日 11:11:00
 */
@Service
public class RunTimeServiceImpl implements RunTimeService {
    @Resource
    private RunTimeDao runTimeDao;
    @Override
    public String create(RunTimeEntity createEntity) {
        RunTimeEntity dto = BeanUtils.toBean(createEntity, RunTimeEntity.class);
        runTimeDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(RunTimeEntity createEntity) {
        RunTimeEntity dto = BeanUtils.toBean(createEntity, RunTimeEntity.class);
        runTimeDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        runTimeDao.deleteById(id);
    }
    @Override
    public RunTimeEntity getInfo(String id) {
        return runTimeDao.selectById(id);
    }
    @Override
    public PageResult<RunTimeEntity> getPage(RunTimePageReqVO PageReqVO) {
        return runTimeDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/device/vo/RunTimePageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.device.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "调度日志")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RunTimePageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/controller/admin/SaleVolumeController.java
对比新文件
@@ -0,0 +1,58 @@
package com.iailab.module.pms.production.sale.controller.admin;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.sale.dao.SaleVolumeDao;
import com.iailab.module.pms.production.sale.entity.SaleVolumeEntity;
import com.iailab.module.pms.production.sale.service.SaleVolumeService;
import com.iailab.module.pms.production.sale.vo.SaleVolumePageReqVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
 * 销售量统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2022年12月23日 14:46:00
 */
@RestController
@RequestMapping("/prod/sale/volume")
public class SaleVolumeController implements SaleVolumeService {
    @Resource
    private SaleVolumeDao saleVolumeDao;
    @Override
    public String create(SaleVolumeEntity createEntity) {
        SaleVolumeEntity dto = BeanUtils.toBean(createEntity, SaleVolumeEntity.class);
        saleVolumeDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(SaleVolumeEntity createEntity) {
        SaleVolumeEntity dto = BeanUtils.toBean(createEntity, SaleVolumeEntity.class);
        saleVolumeDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        saleVolumeDao.deleteById(id);
    }
    @Override
    public SaleVolumeEntity getInfo(String id) {
        return saleVolumeDao.selectById(id);
    }
    @Override
    public PageResult<SaleVolumeEntity> getPage(SaleVolumePageReqVO PageReqVO) {
        return saleVolumeDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/controller/package-info.java
文件名从 iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java 修改
@@ -3,4 +3,4 @@
 * 1. admin 包:提供给管理后台 iailab-ui-admin 前端项目
 * 2. app 包:提供给用户 APP iailab-ui-app 前端项目,它的 Controller 和 VO 都要添加 App 前缀,用于和管理后台进行区分
 */
package com.iailab.module.pms.controller;
package com.iailab.module.pms.production.sale.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/dao/SaleVolumeDao.java
对比新文件
@@ -0,0 +1,22 @@
package com.iailab.module.pms.production.sale.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.sale.entity.SaleVolumeEntity;
import com.iailab.module.pms.production.sale.vo.SaleVolumePageReqVO;
import org.apache.ibatis.annotations.Mapper;
/**
 * @author DongYukun
 * @Description
 * @createTime 2022年12月23日 14:47:00
 */
@Mapper
public interface SaleVolumeDao extends BaseMapperX<SaleVolumeEntity> {
    default PageResult<SaleVolumeEntity> selectPage(SaleVolumePageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<SaleVolumeEntity>()
                .orderByDesc(SaleVolumeEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/dto/SalesVolumeDto.java
对比新文件
@@ -0,0 +1,37 @@
package com.iailab.module.pms.production.sale.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 销售量统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2022年12月23日 14:47:00
 */
@Data
public class SalesVolumeDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 产品销售煤种
     */
    private String xsmz;
    /**
     * 产品销售煤种名称
     */
    private String xsmzName;
    /**
     * 内报当日
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal xsl;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/entity/SaleVolumeEntity.java
对比新文件
@@ -0,0 +1,72 @@
package com.iailab.module.pms.production.sale.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年02月14日 10:58:14
 */
@Data
@TableName("t_sale_volume")
public class SaleVolumeEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 销售煤种
     */
    private String xsmz;
    /**
     * 销售量
     */
    private String xsl;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/service/SaleVolumeService.java
对比新文件
@@ -0,0 +1,26 @@
package com.iailab.module.pms.production.sale.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.sale.entity.SaleVolumeEntity;
import com.iailab.module.pms.production.sale.vo.SaleVolumePageReqVO;
/**
 * 销售量统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2022年12月21日 14:47:00
 */
public interface SaleVolumeService {
    String create(SaleVolumeEntity createEntity);
    String update(SaleVolumeEntity createEntity);
    void delete(String id);
    SaleVolumeEntity getInfo(String id);
    PageResult<SaleVolumeEntity> getPage(SaleVolumePageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/service/impl/SaleVolumeServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.sale.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.sale.dao.SaleVolumeDao;
import com.iailab.module.pms.production.sale.entity.SaleVolumeEntity;
import com.iailab.module.pms.production.sale.service.SaleVolumeService;
import com.iailab.module.pms.production.sale.vo.SaleVolumePageReqVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * 销售量统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2022年12月23日 14:50:30
 */
@Service
public class SaleVolumeServiceImpl implements SaleVolumeService {
    @Resource
    private SaleVolumeDao saleVolumeDao;
    @Override
    public String create(SaleVolumeEntity createEntity) {
        SaleVolumeEntity dto = BeanUtils.toBean(createEntity, SaleVolumeEntity.class);
        saleVolumeDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(SaleVolumeEntity createEntity) {
        SaleVolumeEntity dto = BeanUtils.toBean(createEntity, SaleVolumeEntity.class);
        saleVolumeDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        saleVolumeDao.deleteById(id);
    }
    @Override
    public SaleVolumeEntity getInfo(String id) {
        return saleVolumeDao.selectById(id);
    }
    @Override
    public PageResult<SaleVolumeEntity> getPage(SaleVolumePageReqVO PageReqVO) {
        return saleVolumeDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/sale/vo/SaleVolumePageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.sale.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "调度日志")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SaleVolumePageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/McMzController.java
对比新文件
@@ -0,0 +1,67 @@
package com.iailab.module.pms.production.warehouse.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.entity.McMzEntity;
import com.iailab.module.pms.production.warehouse.service.McMzService;
import com.iailab.module.pms.production.warehouse.vo.McMzPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 煤仓煤种
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年12月20日 10:22:00
 */
@RestController
@RequestMapping("/prod/warehouse/mcmz")
public class McMzController {
    @Resource
    private McMzService mcmzService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createMcMz(@Valid @RequestBody McMzEntity createEntity) {
        return success(mcmzService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateMcMz(@Valid @RequestBody McMzEntity updateEntity) {
        mcmzService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteMcMz(@RequestParam("id") String id) {
        mcmzService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<McMzEntity> getMcMz(@RequestParam("id") String id) {
        McMzEntity data = mcmzService.getInfo(id);
        return success(BeanUtils.toBean(data, McMzEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<McMzEntity>> getMcMzPage(@Valid McMzPageReqVO pageVO) {
        PageResult<McMzEntity> pageResult = mcmzService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, McMzEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/WarehouseItemController.java
对比新文件
@@ -0,0 +1,67 @@
package com.iailab.module.pms.production.warehouse.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.entity.WarehouseItemEntity;
import com.iailab.module.pms.production.warehouse.service.WarehouseItemService;
import com.iailab.module.pms.production.warehouse.vo.WarehouseItemPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 煤仓详情
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年12月15日 17:15:00
 */
@RestController
@RequestMapping("/prod/warehouse/item")
public class WarehouseItemController {
    @Resource
    private WarehouseItemService warehouseItemService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createWarehouseItem(@Valid @RequestBody WarehouseItemEntity createEntity) {
        return success(warehouseItemService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateWarehouseItem(@Valid @RequestBody WarehouseItemEntity updateEntity) {
        warehouseItemService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteWarehouseItem(@RequestParam("id") String id) {
        warehouseItemService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<WarehouseItemEntity> getWarehouseItem(@RequestParam("id") String id) {
        WarehouseItemEntity data = warehouseItemService.getInfo(id);
        return success(BeanUtils.toBean(data, WarehouseItemEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<WarehouseItemEntity>> getWarehouseItemPage(@Valid WarehouseItemPageReqVO pageVO) {
        PageResult<WarehouseItemEntity> pageResult = warehouseItemService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, WarehouseItemEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/WarehousePositionController.java
对比新文件
@@ -0,0 +1,69 @@
package com.iailab.module.pms.production.warehouse.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.entity.WarehousePositionEntity;
import com.iailab.module.pms.production.warehouse.service.WarehousePositionService;
import com.iailab.module.pms.production.warehouse.vo.WarehousePositionPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 仓位统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月17日 15:51:00
 */
@RestController
@RequestMapping("/warehouse/position")
public class WarehousePositionController {
    @Resource
    private WarehousePositionService warehousePositionService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createWarehousePosition(@Valid @RequestBody WarehousePositionEntity createEntity) {
        return success(warehousePositionService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateWarehousePosition(@Valid @RequestBody WarehousePositionEntity updateEntity) {
        warehousePositionService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteWarehousePosition(@RequestParam("id") String id) {
        warehousePositionService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<WarehousePositionEntity> getWarehousePosition(@RequestParam("id") String id) {
        WarehousePositionEntity data = warehousePositionService.getInfo(id);
        return success(BeanUtils.toBean(data, WarehousePositionEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<WarehousePositionEntity>> getWarehousePositionPage(@Valid WarehousePositionPageReqVO pageVO) {
        PageResult<WarehousePositionEntity> pageResult = warehousePositionService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, WarehousePositionEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/admin/WarehouseStockController.java
对比新文件
@@ -0,0 +1,69 @@
package com.iailab.module.pms.production.warehouse.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.entity.WarehouseStockEntity;
import com.iailab.module.pms.production.warehouse.service.WarehouseStockService;
import com.iailab.module.pms.production.warehouse.vo.WarehouseStockPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 产品库存
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月03日 15:01:00
 */
@RestController
@RequestMapping("/warehouse/stock")
public class WarehouseStockController {
    @Resource
    private WarehouseStockService warehouseStockService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createWarehouseStock(@Valid @RequestBody WarehouseStockEntity createEntity) {
        return success(warehouseStockService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateWarehouseStock(@Valid @RequestBody WarehouseStockEntity updateEntity) {
        warehouseStockService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteWarehouseStock(@RequestParam("id") String id) {
        warehouseStockService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<WarehouseStockEntity> getWarehouseStock(@RequestParam("id") String id) {
        WarehouseStockEntity data = warehouseStockService.getInfo(id);
        return success(BeanUtils.toBean(data, WarehouseStockEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<WarehouseStockEntity>> getWarehouseStockPage(@Valid WarehouseStockPageReqVO pageVO) {
        PageResult<WarehouseStockEntity> pageResult = warehouseStockService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, WarehouseStockEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/package-info.java
copy from iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java copy to iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/controller/package-info.java
文件从 iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java 复制
@@ -3,4 +3,4 @@
 * 1. admin 包:提供给管理后台 iailab-ui-admin 前端项目
 * 2. app 包:提供给用户 APP iailab-ui-app 前端项目,它的 Controller 和 VO 都要添加 App 前缀,用于和管理后台进行区分
 */
package com.iailab.module.pms.controller;
package com.iailab.module.pms.production.warehouse.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/McMzDao.java
对比新文件
@@ -0,0 +1,31 @@
package com.iailab.module.pms.production.warehouse.dao;
import com.iailab.framework.common.dao.BaseDao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.warehouse.entity.McMzEntity;
import com.iailab.module.pms.production.warehouse.vo.McMzPageReqVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import java.util.List;
@Mapper
@Component
public interface McMzDao extends BaseMapperX<McMzEntity> {
    @Select("SELECT * , SUM(proportion) OVER () as den FROM t_mc_mz WHERE mc = #{mc}")
    List<McMzEntity> selectMzList(@Param("mc") String mc);
    @Delete("DELETE FROM t_mc_mz WHERE mc = #{mc}")
    void deleteByMc(@Param("mc") String mc);
    default PageResult<McMzEntity> selectPage(McMzPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<McMzEntity>()
                .orderByDesc(McMzEntity::getCreateBy));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/WarehouseItemDao.java
对比新文件
@@ -0,0 +1,16 @@
package com.iailab.module.pms.production.warehouse.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.warehouse.entity.WarehouseItemEntity;
import com.iailab.module.pms.production.warehouse.vo.WarehouseItemPageReqVO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface WarehouseItemDao extends BaseMapperX<WarehouseItemEntity> {
    default PageResult<WarehouseItemEntity> selectPage(WarehouseItemPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<WarehouseItemEntity>()
                .orderByDesc(WarehouseItemEntity::getCreateBy));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/WarehousePositionDao.java
对比新文件
@@ -0,0 +1,28 @@
package com.iailab.module.pms.production.warehouse.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.warehouse.entity.WarehousePositionEntity;
import com.iailab.module.pms.production.warehouse.vo.WarehousePositionPageReqVO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年01月17日 15:50:00
 */
@Mapper
public interface WarehousePositionDao extends BaseMapperX<WarehousePositionEntity> {
    List<WarehousePositionEntity> selectGroupByCp(Map<String, Object> params);
    default PageResult<WarehousePositionEntity> selectPage(WarehousePositionPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<WarehousePositionEntity>()
                .orderByDesc(WarehousePositionEntity::getRq));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/dao/WarehouseStockDao.java
对比新文件
@@ -0,0 +1,53 @@
package com.iailab.module.pms.production.warehouse.dao;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.warehouse.entity.WarehouseStockEntity;
import com.iailab.module.pms.production.warehouse.entity.WarehouseStockEntity;
import com.iailab.module.pms.production.warehouse.entity.WarehouseStockEntity;
import com.iailab.module.pms.production.warehouse.vo.WarehouseStockPageReqVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年01月04日 10:19:00
 */
@Mapper
public interface WarehouseStockDao extends BaseMapperX<WarehouseStockEntity> {
    /**
     * 分页查询
     *
     * @param page 分页信息
     * @param queryWrapper 检索条件
     * @return 分页结果
     */
    IPage<WarehouseStockEntity> daySelectPage(IPage page, @Param(Constants.WRAPPER) QueryWrapper<WarehouseStockEntity> queryWrapper);
    /**
     * 库存数据最新日期
     *
     * @param params
     * @return
     */
    List<WarehouseStockEntity> getLastRq(Map<String, Object> params);
    String selectStockByName(@Param("name") String name);
    List<WarehouseStockEntity> selectListByRq(@Param("rq") String rq, @Param("before") String before);
    default PageResult<WarehouseStockEntity> selectPage(WarehouseStockPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<WarehouseStockEntity>()
                .orderByDesc(WarehouseStockEntity::getRq));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/McMzEntity.java
对比新文件
@@ -0,0 +1,51 @@
package com.iailab.module.pms.production.warehouse.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
 * 煤仓煤种对应表
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年12月19日 10:48:00
 */
@Data
@TableName("t_mc_mz")
public class McMzEntity {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 煤仓
     */
    private String mc;
    /**
     * 煤种
     */
    private String mz;
    /**
     * 比例分母
     */
    @TableField(exist = false)
    private Integer den;
    /**
     * 比例
     */
    private Integer proportion;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 更新人
     */
    private String updateBy;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/WarehouseItemEntity.java
对比新文件
@@ -0,0 +1,52 @@
package com.iailab.module.pms.production.warehouse.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
 * 煤仓详情表
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年12月16日 8:58:00
 */
@Data
@TableName("t_warehouse_item")
public class WarehouseItemEntity {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 煤仓类型
     */
    private String mclx;
    /**
     * 煤仓名
     */
    private String mcName;
    /**
     * 煤仓编号
     */
    private String mc;
    /**
     * 单位
     */
    private String unit;
    /**
     * 容量
     */
    private Integer capacity;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 更新人
     */
    private String updateBy;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/WarehousePositionEntity.java
对比新文件
@@ -0,0 +1,120 @@
package com.iailab.module.pms.production.warehouse.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 仓位表
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年02月15日 11:25:09
 */
@Data
@TableName("t_warehouse_position")
public class WarehousePositionEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 班次名称
     */
    @TableField(exist = false)
    private String bcName;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 煤仓
     */
    private String mc;
    /**
     * 煤仓类型
     */
    private String mclx;
    /**
     * 煤仓名称
     */
    @TableField(exist = false)
    private String mcName;
    /**
     * 仓容量
     */
    private String crl;
    /**
     * 产品
     */
    private String cp;
    /**
     * 产品名称
     */
    @TableField(exist = false)
    private String cpName;
    /**
     * 内报估量
     */
    private BigDecimal nbgl;
    /**
     * 外报估量
     */
    private BigDecimal wbgl;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/entity/WarehouseStockEntity.java
对比新文件
@@ -0,0 +1,198 @@
package com.iailab.module.pms.production.warehouse.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年02月17日 09:41:00
 */
@Data
@TableName("t_warehouse_stock")
public class WarehouseStockEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 库存煤种
     */
    private String kcmz;
    /**
     * 单价(元/t)
     */
    private BigDecimal danj;
    /**
     * 内报昨日库存
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal nbzrkc;
    /**
     * 内报今日入库
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal nbjrrk;
    /**
     * 内报今日出库
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal nbjrck;
    /**
     * 内报调整量
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal nbtzl;
    /**
     * 内报今日库存
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal nbjrkc;
    /**
     * 外报昨日库存
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal wbzrkc;
    /**
     * 外报今日入库
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal wbjrrk;
    /**
     * 外报今日出库
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal wbjrck;
    /**
     * 外报调整量
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal wbtzl;
    /**
     * 外报今日库存
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal wbjrkc;
    /**
     * 灰分Ad%
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf;
    /**
     * 水分Mt%
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal sf;
    /**
     * 硫份St,d%
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal lf;
    /**
     * 挥发分Vdaf%
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hff;
    /**
     * 粘结GR.I
     */
    private BigDecimal nj;
    /**
     * 胶质层Y(㎜)GR.I
     */
    private BigDecimal jzc;
    /**
     * 发热量(cal/g)
     */
    private BigDecimal frl;
    /**
     * 中损
     */
    private BigDecimal zs;
    /**
     * 矸损
     */
    private BigDecimal gs;
    /**
     * 压滤煤泥灰分Ad%
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal ylmnHf;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
    /**
     * 标识(原煤库存、产品库存)
     */
    private String bs;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/McMzService.java
对比新文件
@@ -0,0 +1,25 @@
package com.iailab.module.pms.production.warehouse.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.framework.common.util.object.PageUtils;
import com.iailab.module.pms.production.warehouse.entity.McMzEntity;
import com.iailab.module.pms.production.warehouse.vo.McMzPageReqVO;
import com.iailab.module.pms.production.work.vo.DutyInfoPageReqVO;
import java.util.List;
import java.util.Map;
public interface McMzService {
    String create(McMzEntity createEntity);
    String update(McMzEntity createEntity);
    void delete(String id);
    McMzEntity getInfo(String id);
    PageResult<McMzEntity> getPage(McMzPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/WarehouseItemService.java
对比新文件
@@ -0,0 +1,26 @@
package com.iailab.module.pms.production.warehouse.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.service.BaseService;
import com.iailab.framework.common.util.object.PageUtils;
import com.iailab.module.pms.production.warehouse.entity.WarehouseItemEntity;
import com.iailab.module.pms.production.warehouse.entity.WarehouseItemEntity;
import com.iailab.module.pms.production.warehouse.entity.WarehouseItemEntity;
import com.iailab.module.pms.production.warehouse.vo.WarehouseItemPageReqVO;
import com.iailab.module.pms.production.warehouse.vo.WarehouseItemPageReqVO;
import java.util.List;
import java.util.Map;
public interface WarehouseItemService {
    String create(WarehouseItemEntity createEntity);
    String update(WarehouseItemEntity createEntity);
    void delete(String id);
    WarehouseItemEntity getInfo(String id);
    PageResult<WarehouseItemEntity> getPage(WarehouseItemPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/WarehousePositionService.java
对比新文件
@@ -0,0 +1,33 @@
package com.iailab.module.pms.production.warehouse.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.PageUtils;
import com.iailab.module.pms.production.warehouse.entity.WarehousePositionEntity;
import com.iailab.module.pms.production.warehouse.entity.WarehousePositionEntity;
import com.iailab.module.pms.production.warehouse.entity.WarehousePositionEntity;
import com.iailab.module.pms.production.warehouse.vo.WarehousePositionPageReqVO;
import com.iailab.module.pms.production.warehouse.vo.WarehousePositionPageReqVO;
import java.util.List;
import java.util.Map;
/**
 * 仓位统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月17日 15:50:00
 */
public interface WarehousePositionService {
    String create(WarehousePositionEntity createEntity);
    String update(WarehousePositionEntity createEntity);
    void delete(String id);
    WarehousePositionEntity getInfo(String id);
    PageResult<WarehousePositionEntity> getPage(WarehousePositionPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/WarehouseStockService.java
对比新文件
@@ -0,0 +1,27 @@
package com.iailab.module.pms.production.warehouse.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.warehouse.entity.WarehouseStockEntity;
import com.iailab.module.pms.production.warehouse.vo.WarehouseStockPageReqVO;
/**
 * 产品库存
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月04日 10:19:00
 */
public interface WarehouseStockService{
    String create(WarehouseStockEntity createEntity);
    String update(WarehouseStockEntity createEntity);
    void delete(String id);
    WarehouseStockEntity getInfo(String id);
    PageResult<WarehouseStockEntity> getPage(WarehouseStockPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/McMzServiceImpl.java
对比新文件
@@ -0,0 +1,48 @@
package com.iailab.module.pms.production.warehouse.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.dao.McMzDao;
import com.iailab.module.pms.production.warehouse.entity.McMzEntity;
import com.iailab.module.pms.production.warehouse.service.McMzService;
import com.iailab.module.pms.production.warehouse.vo.McMzPageReqVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class McMzServiceImpl implements McMzService {
    @Resource
    private McMzDao mcMzDao;
    @Override
    public String create(McMzEntity createEntity) {
        McMzEntity dto = BeanUtils.toBean(createEntity, McMzEntity.class);
        mcMzDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(McMzEntity createEntity) {
        McMzEntity dto = BeanUtils.toBean(createEntity, McMzEntity.class);
        mcMzDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        mcMzDao.deleteById(id);
    }
    @Override
    public McMzEntity getInfo(String id) {
        return mcMzDao.selectById(id);
    }
    @Override
    public PageResult<McMzEntity> getPage(McMzPageReqVO PageReqVO) {
        return mcMzDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/WarehouseItemServiceImpl.java
对比新文件
@@ -0,0 +1,47 @@
package com.iailab.module.pms.production.warehouse.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.dao.WarehouseItemDao;
import com.iailab.module.pms.production.warehouse.entity.WarehouseItemEntity;
import com.iailab.module.pms.production.warehouse.service.WarehouseItemService;
import com.iailab.module.pms.production.warehouse.vo.WarehouseItemPageReqVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class WarehouseItemServiceImpl implements WarehouseItemService {
    @Resource
    private WarehouseItemDao warehouseItemDao;
    @Override
    public String create(WarehouseItemEntity createEntity) {
        WarehouseItemEntity dto = BeanUtils.toBean(createEntity, WarehouseItemEntity.class);
        warehouseItemDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(WarehouseItemEntity createEntity) {
        WarehouseItemEntity dto = BeanUtils.toBean(createEntity, WarehouseItemEntity.class);
        warehouseItemDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        warehouseItemDao.deleteById(id);
    }
    @Override
    public WarehouseItemEntity getInfo(String id) {
        return warehouseItemDao.selectById(id);
    }
    @Override
    public PageResult<WarehouseItemEntity> getPage(WarehouseItemPageReqVO PageReqVO) {
        return warehouseItemDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/WarehousePositionServiceImpl.java
对比新文件
@@ -0,0 +1,55 @@
package com.iailab.module.pms.production.warehouse.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.dao.WarehousePositionDao;
import com.iailab.module.pms.production.warehouse.entity.WarehousePositionEntity;
import com.iailab.module.pms.production.warehouse.service.WarehousePositionService;
import com.iailab.module.pms.production.warehouse.vo.WarehousePositionPageReqVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * 仓位统计
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月17日 15:49:00
 */
@Service
public class WarehousePositionServiceImpl implements WarehousePositionService {
    @Resource
    private WarehousePositionDao warehousePositionDao;
    @Override
    public String create(WarehousePositionEntity createEntity) {
        WarehousePositionEntity dto = BeanUtils.toBean(createEntity, WarehousePositionEntity.class);
        warehousePositionDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(WarehousePositionEntity createEntity) {
        WarehousePositionEntity dto = BeanUtils.toBean(createEntity, WarehousePositionEntity.class);
        warehousePositionDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        warehousePositionDao.deleteById(id);
    }
    @Override
    public WarehousePositionEntity getInfo(String id) {
        return warehousePositionDao.selectById(id);
    }
    @Override
    public PageResult<WarehousePositionEntity> getPage(WarehousePositionPageReqVO PageReqVO) {
        return warehousePositionDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/service/impl/WarehouseStockServiceImpl.java
对比新文件
@@ -0,0 +1,58 @@
package com.iailab.module.pms.production.warehouse.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.warehouse.dao.WarehouseStockDao;
import com.iailab.module.pms.production.warehouse.entity.WarehouseStockEntity;
import com.iailab.module.pms.production.warehouse.service.WarehouseStockService;
import com.iailab.module.pms.production.warehouse.vo.WarehouseStockPageReqVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * 产品库存
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月04日 10:19:30
 */
@Slf4j
@Service
public class WarehouseStockServiceImpl implements WarehouseStockService {
    @Resource
    private WarehouseStockDao warehouseStockDao;
    @Override
    public String create(WarehouseStockEntity createEntity) {
        WarehouseStockEntity dto = BeanUtils.toBean(createEntity, WarehouseStockEntity.class);
        warehouseStockDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(WarehouseStockEntity createEntity) {
        WarehouseStockEntity dto = BeanUtils.toBean(createEntity, WarehouseStockEntity.class);
        warehouseStockDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        warehouseStockDao.deleteById(id);
    }
    @Override
    public WarehouseStockEntity getInfo(String id) {
        return warehouseStockDao.selectById(id);
    }
    @Override
    public PageResult<WarehouseStockEntity> getPage(WarehouseStockPageReqVO PageReqVO) {
        return warehouseStockDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/McMzPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.warehouse.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "调度日志")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class McMzPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/WarehouseItemPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.warehouse.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "当班信息")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WarehouseItemPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/WarehousePositionPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.warehouse.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "生产事故")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WarehousePositionPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/warehouse/vo/WarehouseStockPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.warehouse.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "生产事故")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WarehouseStockPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/HourVolumeController.java
对比新文件
@@ -0,0 +1,62 @@
package com.iailab.module.pms.production.wash.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.vo.HourVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.HourVolumeEntity;
import com.iailab.module.pms.production.wash.service.HourVolumeService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
@Tag(name = "小时量")
@RestController
@RequestMapping("/prod/wash/hourVolume")
public class HourVolumeController {
    @Resource
    private HourVolumeService hourVolumeService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createHourVolume(@Valid @RequestBody HourVolumeEntity createEntity) {
        return success(hourVolumeService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateHourVolume(@Valid @RequestBody HourVolumeEntity updateEntity) {
        hourVolumeService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteHourVolume(@RequestParam("id") String id) {
        hourVolumeService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<HourVolumeEntity> getHourVolume(@RequestParam("id") String id) {
        HourVolumeEntity data = hourVolumeService.getInfo(id);
        return success(BeanUtils.toBean(data, HourVolumeEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<HourVolumeEntity>> getHourVolumePage(@Valid HourVolumePageReqVO pageVO) {
        PageResult<HourVolumeEntity> pageResult = hourVolumeService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, HourVolumeEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/ProdVolumeController.java
对比新文件
@@ -0,0 +1,62 @@
package com.iailab.module.pms.production.wash.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.vo.ProdVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.ProdVolumeEntity;
import com.iailab.module.pms.production.wash.service.ProdVolumeService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
@Tag(name = "生产量")
@RestController
@RequestMapping("/prod/wash/prodVolume")
public class ProdVolumeController {
    @Resource
    private ProdVolumeService prodVolumeService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createProdVolume(@Valid @RequestBody ProdVolumeEntity createEntity) {
        return success(prodVolumeService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateProdVolume(@Valid @RequestBody ProdVolumeEntity updateEntity) {
        prodVolumeService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteProdVolume(@RequestParam("id") String id) {
        prodVolumeService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<ProdVolumeEntity> getProdVolume(@RequestParam("id") String id) {
        ProdVolumeEntity data = prodVolumeService.getInfo(id);
        return success(BeanUtils.toBean(data, ProdVolumeEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<ProdVolumeEntity>> getProdVolumePage(@Valid ProdVolumePageReqVO pageVO) {
        PageResult<ProdVolumeEntity> pageResult = prodVolumeService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, ProdVolumeEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/ToWashController.java
对比新文件
@@ -0,0 +1,62 @@
package com.iailab.module.pms.production.wash.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.vo.ToWashPageReqVO;
import com.iailab.module.pms.production.wash.entity.ToWashEntity;
import com.iailab.module.pms.production.wash.service.ToWashService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
@Tag(name = "入洗量")
@RestController
@RequestMapping("/prod/wash/toWash")
public class ToWashController {
    @Resource
    private ToWashService toWashService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createToWash(@Valid @RequestBody ToWashEntity createEntity) {
        return success(toWashService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateToWash(@Valid @RequestBody ToWashEntity updateEntity) {
        toWashService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteToWash(@RequestParam("id") String id) {
        toWashService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<ToWashEntity> getToWash(@RequestParam("id") String id) {
        ToWashEntity data = toWashService.getInfo(id);
        return success(BeanUtils.toBean(data, ToWashEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<ToWashEntity>> getToWashPage(@Valid ToWashPageReqVO pageVO) {
        PageResult<ToWashEntity> pageResult = toWashService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, ToWashEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/TransferInController.java
对比新文件
@@ -0,0 +1,62 @@
package com.iailab.module.pms.production.wash.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.vo.TransferInPageReqVO;
import com.iailab.module.pms.production.wash.entity.TransferInEntity;
import com.iailab.module.pms.production.wash.service.TransferInService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
@Tag(name = "调入量")
@RestController
@RequestMapping("/prod/wash/transferIn")
public class TransferInController {
    @Resource
    private TransferInService transferInService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createTransferIn(@Valid @RequestBody TransferInEntity createEntity) {
        return success(transferInService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateTransferIn(@Valid @RequestBody TransferInEntity updateEntity) {
        transferInService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteTransferIn(@RequestParam("id") String id) {
        transferInService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<TransferInEntity> getTransferIn(@RequestParam("id") String id) {
        TransferInEntity data = transferInService.getInfo(id);
        return success(BeanUtils.toBean(data, TransferInEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<TransferInEntity>> getTransferInPage(@Valid TransferInPageReqVO pageVO) {
        PageResult<TransferInEntity> pageResult = transferInService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, TransferInEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/admin/WashPlanController.java
对比新文件
@@ -0,0 +1,62 @@
package com.iailab.module.pms.production.wash.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.vo.WashPlanPageReqVO;
import com.iailab.module.pms.production.wash.entity.WashPlanEntity;
import com.iailab.module.pms.production.wash.service.WashPlanService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
@Tag(name = "洗选计划")
@RestController
@RequestMapping("/prod/wash/washPlan")
public class WashPlanController {
    @Resource
    private WashPlanService washPlanService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createWashPlan(@Valid @RequestBody WashPlanEntity createEntity) {
        return success(washPlanService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateWashPlan(@Valid @RequestBody WashPlanEntity updateEntity) {
        washPlanService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteWashPlan(@RequestParam("id") String id) {
        washPlanService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<WashPlanEntity> getWashPlan(@RequestParam("id") String id) {
        WashPlanEntity data = washPlanService.getInfo(id);
        return success(BeanUtils.toBean(data, WashPlanEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<WashPlanEntity>> getWashPlanPage(@Valid WashPlanPageReqVO pageVO) {
        PageResult<WashPlanEntity> pageResult = washPlanService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, WashPlanEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/package-info.java
copy from iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java copy to iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/controller/package-info.java
文件从 iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java 复制
@@ -3,4 +3,4 @@
 * 1. admin 包:提供给管理后台 iailab-ui-admin 前端项目
 * 2. app 包:提供给用户 APP iailab-ui-app 前端项目,它的 Controller 和 VO 都要添加 App 前缀,用于和管理后台进行区分
 */
package com.iailab.module.pms.controller;
package com.iailab.module.pms.production.wash.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/HourVolumeDao.java
对比新文件
@@ -0,0 +1,28 @@
package com.iailab.module.pms.production.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.wash.vo.HourVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.HourVolumeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Mapper
public interface HourVolumeDao extends BaseMapperX<HourVolumeEntity> {
    List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
    default PageResult<HourVolumeEntity> selectPage(HourVolumePageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<HourVolumeEntity>()
                .orderByDesc(HourVolumeEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/ProdVolumeDao.java
对比新文件
@@ -0,0 +1,27 @@
package com.iailab.module.pms.production.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.wash.vo.ProdVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.ProdVolumeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Mapper
public interface ProdVolumeDao extends BaseMapperX<ProdVolumeEntity> {
    List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
    default PageResult<ProdVolumeEntity> selectPage(ProdVolumePageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<ProdVolumeEntity>());
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/ToWashDao.java
对比新文件
@@ -0,0 +1,27 @@
package com.iailab.module.pms.production.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.wash.vo.ToWashPageReqVO;
import com.iailab.module.pms.production.wash.entity.ToWashEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Mapper
public interface ToWashDao extends BaseMapperX<ToWashEntity> {
    List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
    default PageResult<ToWashEntity> selectPage(ToWashPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<ToWashEntity>());
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/ToWashDetDao.java
对比新文件
@@ -0,0 +1,28 @@
package com.iailab.module.pms.production.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.wash.vo.ToWashDetPageReqVO;
import com.iailab.module.pms.production.wash.entity.ToWashDetEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Mapper
public interface ToWashDetDao extends BaseMapperX<ToWashDetEntity> {
    List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
    default PageResult<ToWashDetEntity> selectPage(ToWashDetPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<ToWashDetEntity>()
                .orderByDesc(ToWashDetEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/TransferInDao.java
对比新文件
@@ -0,0 +1,27 @@
package com.iailab.module.pms.production.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.wash.vo.TransferInPageReqVO;
import com.iailab.module.pms.production.wash.entity.TransferInEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Mapper
public interface TransferInDao extends BaseMapperX<TransferInEntity> {
    List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
    default PageResult<TransferInEntity> selectPage(TransferInPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<TransferInEntity>());
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/WashPlanDao.java
对比新文件
@@ -0,0 +1,28 @@
package com.iailab.module.pms.production.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.wash.vo.WashPlanPageReqVO;
import com.iailab.module.pms.production.wash.entity.WashPlanEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Mapper
public interface WashPlanDao extends BaseMapperX<WashPlanEntity> {
    List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
    default PageResult<WashPlanEntity> selectPage(WashPlanPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<WashPlanEntity>()
                .orderByDesc(WashPlanEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/dao/WashPlanDetDao.java
对比新文件
@@ -0,0 +1,28 @@
package com.iailab.module.pms.production.wash.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.wash.vo.WashPlanDetPageReqVO;
import com.iailab.module.pms.production.wash.entity.WashPlanDetEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Mapper
public interface WashPlanDetDao extends BaseMapperX<WashPlanDetEntity> {
    List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
    default PageResult<WashPlanDetEntity> selectPage(WashPlanDetPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<WashPlanDetEntity>()
                .orderByDesc(WashPlanDetEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/HourVolumeEntity.java
对比新文件
@@ -0,0 +1,116 @@
package com.iailab.module.pms.production.wash.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.framework.common.annotation.Dict;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 小时量
 *
 * @author DongYukun
 * @Description
 * @createTime 2024年09月05日
 */
@TableName("t_wash_hour_volume")
@Data
public class HourVolumeEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 时间
     */
    private Date sj;
    /**
     * 入洗量
     */
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private BigDecimal rxl;
    /**
     * 精煤量
     */
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private BigDecimal jml;
    /**
     * 混煤量
     */
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private BigDecimal hml;
    /**
     * 矸石量
     */
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private BigDecimal gsl;
    /**
     * 水洗矸石量
     */
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private BigDecimal sxgsl;
    /**
     * 浮精板数
     */
    private BigDecimal fjbs;
    /**
     * 煤泥板数
     */
    private BigDecimal mnbs;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/ProdVolumeEntity.java
对比新文件
@@ -0,0 +1,49 @@
package com.iailab.module.pms.production.wash.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 小时量
 *
 * @author DongYukun
 * @Description
 * @createTime 2024年09月05日
 */
@TableName("t_wash_prod_volume")
@Data
public class ProdVolumeEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    private String id;
    private String rq;
    private String bc;
    private String lsh;
    private String clmz;
    private BigDecimal nbdrl;
    private String bz;
    private String cjr;
    private Date cjsj;
    private String xgr;
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/ToWashDetEntity.java
对比新文件
@@ -0,0 +1,74 @@
package com.iailab.module.pms.production.wash.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.iailab.framework.common.annotation.Dict;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * 入洗量详情量
 *
 * @author DongYukun
 * @Description
 * @createTime 2024年09月05日
 */
@TableName("t_wash_to_wash_det")
@Data
public class ToWashDetEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 总入洗id
     */
    private String washId;
    /**
     * 煤种
     */
    private String mz;
    /**
     * 比例
     */
    private String bl;
    /**
     * 入洗量
     */
    private String rxl;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/ToWashEntity.java
对比新文件
@@ -0,0 +1,77 @@
package com.iailab.module.pms.production.wash.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.iailab.framework.common.annotation.Dict;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 原煤入洗
 *
 * @author DongYukun
 * @Description
 * @createTime 2024年09月05日
 */
@TableName("t_wash_to_wash")
@Data
public class ToWashEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 总入洗
     */
    private BigDecimal zrx;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/TransferInEntity.java
对比新文件
@@ -0,0 +1,49 @@
package com.iailab.module.pms.production.wash.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 原煤调入
 *
 * @author DongYukun
 * @Description
 * @createTime 2024年09月05日
 */
@TableName("t_wash_transfer_in")
@Data
public class TransferInEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    private String id;
    private String rq;
    private String bc;
    private String lsh;
    private String drly;
    private BigDecimal nbdrl;
    private String bz;
    private String cjr;
    private Date cjsj;
    private String xgr;
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/WashPlanDetEntity.java
对比新文件
@@ -0,0 +1,99 @@
package com.iailab.module.pms.production.wash.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.framework.common.annotation.Dict;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 入洗计划详情
 *
 * @author DongYukun
 * @Description
 * @createTime 2024年09月05日
 */
@TableName("t_wash_plan_det")
@Data
public class WashPlanDetEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 计划id
     */
    private String jhId;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 煤种
     */
    private String mzCode;
    /**
     * 单位
     */
    private String dw;
    /**
     * 产量
     */
    private BigDecimal cl;
    /**
     * 灰分
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal hf;
    /**
     * 硫分
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal lf;
    /**
     * 水分
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal sf;
    /**
     * 目标热值
     */
    private BigDecimal mbrz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/entity/WashPlanEntity.java
对比新文件
@@ -0,0 +1,131 @@
package com.iailab.module.pms.production.wash.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.iailab.framework.common.annotation.BpmStatus;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * 入洗计划
 *
 * @author DongYukun
 * @Description
 * @createTime 2024年09月05日
 */
@TableName("t_wash_plan")
@Data
public class WashPlanEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 所属公司
     */
    private String unit2;
    /**
     * 所属单位
     */
    private String ssdw;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 年月(计划时间)
     */
    private String ny;
    /**
     * 编制人
     */
    private String bzr;
    /**
     * 编制日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date bzsj;
    /**
     * 上报时间(具体到时分秒)
     */
    private Date sbsj;
    /**
     * 审核时间(具体到时分秒)
     */
    private Date shsj;
    /**
     * 状态
     */
    private String zt;
    /**
     * 计划类别(年计划、月计划)
     */
    private String jhlb;
    /**
     * 所属类别(全厂、车间)
     */
    private String sslb;
    /**
     * 所属类别名称
     */
    @TableField(exist = false)
    private String sslbName;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
    /**
     * 明细列表
     */
    @TableField(exist = false)
    private List<WashPlanDetEntity> detList;
    @TableField(exist = false)
    @BpmStatus(businessKey = "id")
    private Integer bpmStatus;
    @TableField(exist = false)
    private String bpmStatusName;
    @TableField(exist = false)
    private Date bpmCreateDate;
    @TableField(exist = false)
    private String procInstId;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/HourVolumeService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.wash.vo.HourVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.HourVolumeEntity;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
public interface HourVolumeService {
    String create(HourVolumeEntity createEntity);
    String update(HourVolumeEntity createEntity);
    void delete(String id);
    HourVolumeEntity getInfo(String id);
    PageResult<HourVolumeEntity> getPage(HourVolumePageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/ProdVolumeService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.wash.vo.ProdVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.ProdVolumeEntity;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
public interface ProdVolumeService {
    String create(ProdVolumeEntity createEntity);
    String update(ProdVolumeEntity createEntity);
    void delete(String id);
    ProdVolumeEntity getInfo(String id);
    PageResult<ProdVolumeEntity> getPage(ProdVolumePageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/ToWashDetService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.wash.vo.ToWashDetPageReqVO;
import com.iailab.module.pms.production.wash.entity.ToWashDetEntity;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
public interface ToWashDetService {
    String create(ToWashDetEntity createEntity);
    String update(ToWashDetEntity createEntity);
    void delete(String id);
    ToWashDetEntity getInfo(String id);
    PageResult<ToWashDetEntity> getPage(ToWashDetPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/ToWashService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.wash.vo.ToWashPageReqVO;
import com.iailab.module.pms.production.wash.entity.ToWashEntity;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
public interface ToWashService {
    String create(ToWashEntity createEntity);
    String update(ToWashEntity createEntity);
    void delete(String id);
    ToWashEntity getInfo(String id);
    PageResult<ToWashEntity> getPage(ToWashPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/TransferInService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.wash.vo.TransferInPageReqVO;
import com.iailab.module.pms.production.wash.entity.TransferInEntity;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
public interface TransferInService {
    String create(TransferInEntity createEntity);
    String update(TransferInEntity createEntity);
    void delete(String id);
    TransferInEntity getInfo(String id);
    PageResult<TransferInEntity> getPage(TransferInPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/WashPlanDetService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.wash.vo.WashPlanDetPageReqVO;
import com.iailab.module.pms.production.wash.entity.WashPlanDetEntity;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
public interface WashPlanDetService {
    String create(WashPlanDetEntity createEntity);
    String update(WashPlanDetEntity createEntity);
    void delete(String id);
    WashPlanDetEntity getInfo(String id);
    PageResult<WashPlanDetEntity> getPage(WashPlanDetPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/WashPlanService.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.wash.vo.WashPlanPageReqVO;
import com.iailab.module.pms.production.wash.entity.WashPlanEntity;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
public interface WashPlanService {
    String create(WashPlanEntity createEntity);
    String update(WashPlanEntity createEntity);
    void delete(String id);
    WashPlanEntity getInfo(String id);
    PageResult<WashPlanEntity> getPage(WashPlanPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/HourVolumeServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.wash.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.service.HourVolumeService;
import com.iailab.module.pms.production.wash.vo.HourVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.HourVolumeEntity;
import com.iailab.module.pms.production.wash.dao.HourVolumeDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Service
@Slf4j
public class HourVolumeServiceImpl implements HourVolumeService {
    @Resource
    private HourVolumeDao hourVolumeDao;
    @Override
    public String create(HourVolumeEntity createEntity) {
        HourVolumeEntity dto = BeanUtils.toBean(createEntity, HourVolumeEntity.class);
        hourVolumeDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(HourVolumeEntity createEntity) {
        HourVolumeEntity dto = BeanUtils.toBean(createEntity, HourVolumeEntity.class);
        hourVolumeDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        hourVolumeDao.deleteById(id);
    }
    @Override
    public HourVolumeEntity getInfo(String id) {
        return hourVolumeDao.selectById(id);
    }
    @Override
    public PageResult<HourVolumeEntity> getPage(HourVolumePageReqVO PageReqVO) {
        return hourVolumeDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/ProdVolumeServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.wash.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.service.ProdVolumeService;
import com.iailab.module.pms.production.wash.vo.ProdVolumePageReqVO;
import com.iailab.module.pms.production.wash.entity.ProdVolumeEntity;
import com.iailab.module.pms.production.wash.dao.ProdVolumeDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Service
@Slf4j
public class ProdVolumeServiceImpl implements ProdVolumeService {
    @Resource
    private ProdVolumeDao prodVolumeDao;
    @Override
    public String create(ProdVolumeEntity createEntity) {
        ProdVolumeEntity dto = BeanUtils.toBean(createEntity, ProdVolumeEntity.class);
        prodVolumeDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(ProdVolumeEntity createEntity) {
        ProdVolumeEntity dto = BeanUtils.toBean(createEntity, ProdVolumeEntity.class);
        prodVolumeDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        prodVolumeDao.deleteById(id);
    }
    @Override
    public ProdVolumeEntity getInfo(String id) {
        return prodVolumeDao.selectById(id);
    }
    @Override
    public PageResult<ProdVolumeEntity> getPage(ProdVolumePageReqVO PageReqVO) {
        return prodVolumeDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/ToWashDetServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.wash.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.service.ToWashDetService;
import com.iailab.module.pms.production.wash.vo.ToWashDetPageReqVO;
import com.iailab.module.pms.production.wash.entity.ToWashDetEntity;
import com.iailab.module.pms.production.wash.dao.ToWashDetDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Service
@Slf4j
public class ToWashDetServiceImpl implements ToWashDetService {
    @Resource
    private ToWashDetDao toWashDetDao;
    @Override
    public String create(ToWashDetEntity createEntity) {
        ToWashDetEntity dto = BeanUtils.toBean(createEntity, ToWashDetEntity.class);
        toWashDetDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(ToWashDetEntity createEntity) {
        ToWashDetEntity dto = BeanUtils.toBean(createEntity, ToWashDetEntity.class);
        toWashDetDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        toWashDetDao.deleteById(id);
    }
    @Override
    public ToWashDetEntity getInfo(String id) {
        return toWashDetDao.selectById(id);
    }
    @Override
    public PageResult<ToWashDetEntity> getPage(ToWashDetPageReqVO PageReqVO) {
        return toWashDetDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/ToWashServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.wash.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.service.ToWashService;
import com.iailab.module.pms.production.wash.vo.ToWashPageReqVO;
import com.iailab.module.pms.production.wash.entity.ToWashEntity;
import com.iailab.module.pms.production.wash.dao.ToWashDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Service
@Slf4j
public class ToWashServiceImpl implements ToWashService {
    @Resource
    private ToWashDao toWashDao;
    @Override
    public String create(ToWashEntity createEntity) {
        ToWashEntity dto = BeanUtils.toBean(createEntity, ToWashEntity.class);
        toWashDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(ToWashEntity createEntity) {
        ToWashEntity dto = BeanUtils.toBean(createEntity, ToWashEntity.class);
        toWashDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        toWashDao.deleteById(id);
    }
    @Override
    public ToWashEntity getInfo(String id) {
        return toWashDao.selectById(id);
    }
    @Override
    public PageResult<ToWashEntity> getPage(ToWashPageReqVO PageReqVO) {
        return toWashDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/TransferInServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.wash.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.service.TransferInService;
import com.iailab.module.pms.production.wash.vo.TransferInPageReqVO;
import com.iailab.module.pms.production.wash.entity.TransferInEntity;
import com.iailab.module.pms.production.wash.dao.TransferInDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Service
@Slf4j
public class TransferInServiceImpl implements TransferInService {
    @Resource
    private TransferInDao transferInDao;
    @Override
    public String create(TransferInEntity createEntity) {
        TransferInEntity dto = BeanUtils.toBean(createEntity, TransferInEntity.class);
        transferInDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(TransferInEntity createEntity) {
        TransferInEntity dto = BeanUtils.toBean(createEntity, TransferInEntity.class);
        transferInDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        transferInDao.deleteById(id);
    }
    @Override
    public TransferInEntity getInfo(String id) {
        return transferInDao.selectById(id);
    }
    @Override
    public PageResult<TransferInEntity> getPage(TransferInPageReqVO PageReqVO) {
        return transferInDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/WashPlanDetServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.wash.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.service.WashPlanDetService;
import com.iailab.module.pms.production.wash.vo.WashPlanDetPageReqVO;
import com.iailab.module.pms.production.wash.entity.WashPlanDetEntity;
import com.iailab.module.pms.production.wash.dao.WashPlanDetDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Service
@Slf4j
public class WashPlanDetServiceImpl implements WashPlanDetService {
    @Resource
    private WashPlanDetDao washPlanDetDao;
    @Override
    public String create(WashPlanDetEntity createEntity) {
        WashPlanDetEntity dto = BeanUtils.toBean(createEntity, WashPlanDetEntity.class);
        washPlanDetDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(WashPlanDetEntity createEntity) {
        WashPlanDetEntity dto = BeanUtils.toBean(createEntity, WashPlanDetEntity.class);
        washPlanDetDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        washPlanDetDao.deleteById(id);
    }
    @Override
    public WashPlanDetEntity getInfo(String id) {
        return washPlanDetDao.selectById(id);
    }
    @Override
    public PageResult<WashPlanDetEntity> getPage(WashPlanDetPageReqVO PageReqVO) {
        return washPlanDetDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/service/impl/WashPlanServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.wash.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.wash.service.WashPlanService;
import com.iailab.module.pms.production.wash.vo.WashPlanPageReqVO;
import com.iailab.module.pms.production.wash.entity.WashPlanEntity;
import com.iailab.module.pms.production.wash.dao.WashPlanDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Service
@Slf4j
public class WashPlanServiceImpl implements WashPlanService {
    @Resource
    private WashPlanDao washPlanDao;
    @Override
    public String create(WashPlanEntity createEntity) {
        WashPlanEntity dto = BeanUtils.toBean(createEntity, WashPlanEntity.class);
        washPlanDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(WashPlanEntity createEntity) {
        WashPlanEntity dto = BeanUtils.toBean(createEntity, WashPlanEntity.class);
        washPlanDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        washPlanDao.deleteById(id);
    }
    @Override
    public WashPlanEntity getInfo(String id) {
        return washPlanDao.selectById(id);
    }
    @Override
    public PageResult<WashPlanEntity> getPage(WashPlanPageReqVO PageReqVO) {
        return washPlanDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/HourVolumePageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "小时量")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class HourVolumePageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/ProdVolumePageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "生产量")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProdVolumePageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/ToWashDetPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "入洗详情")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ToWashDetPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/ToWashPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "入洗量")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ToWashPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/TransferInPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "调入量")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TransferInPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/WashPlanDetPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "入洗计划详情")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WashPlanDetPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/wash/vo/WashPlanPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.wash.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "入洗计划")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WashPlanPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/admin/DispatchLogController.java
对比新文件
@@ -0,0 +1,69 @@
package com.iailab.module.pms.production.work.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.work.enity.DispatchLogEntity;
import com.iailab.module.pms.production.work.service.DispatchLogService;
import com.iailab.module.pms.production.work.vo.DispatchLogPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 调度日志
 *
 * @author DongYuKun
 * @Description
 * @createTime 2023年04月27日 11:02:00
 */
@Slf4j
@RestController
@RequestMapping("/prod/work/dispatchLog")
public class DispatchLogController {
    @Resource
    private DispatchLogService dispatchLogService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createDispatchLog(@Valid @RequestBody DispatchLogEntity createEntity) {
        return success(dispatchLogService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateDispatchLog(@Valid @RequestBody DispatchLogEntity updateEntity) {
        dispatchLogService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteDispatchLog(@RequestParam("id") String id) {
        dispatchLogService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<DispatchLogEntity> getDispatchLog(@RequestParam("id") String id) {
        DispatchLogEntity data = dispatchLogService.getInfo(id);
        return success(BeanUtils.toBean(data, DispatchLogEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<DispatchLogEntity>> getDispatchLogPage(@Valid DispatchLogPageReqVO pageVO) {
        PageResult<DispatchLogEntity> pageResult = dispatchLogService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, DispatchLogEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/admin/DutyInfoController.java
对比新文件
@@ -0,0 +1,69 @@
package com.iailab.module.pms.production.work.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.work.enity.DutyInfoEntity;
import com.iailab.module.pms.production.work.service.DutyInfoService;
import com.iailab.module.pms.production.work.vo.DutyInfoPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 当班信息
 *
 * @author DongYuKun
 * @Description
 * @createTime 2023年04月27日 14:55:00
 */
@Slf4j
@RestController
@RequestMapping("/prod/work/onDutyInfo")
public class DutyInfoController {
    @Resource
    private DutyInfoService dutyInfoService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createDutyInfo(@Valid @RequestBody DutyInfoEntity createEntity) {
        return success(dutyInfoService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateDutyInfo(@Valid @RequestBody DutyInfoEntity updateEntity) {
        dutyInfoService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteDutyInfo(@RequestParam("id") String id) {
        dutyInfoService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<DutyInfoEntity> getDutyInfo(@RequestParam("id") String id) {
        DutyInfoEntity data = dutyInfoService.getInfo(id);
        return success(BeanUtils.toBean(data, DutyInfoEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<DutyInfoEntity>> getDutyInfoPage(@Valid DutyInfoPageReqVO pageVO) {
        PageResult<DutyInfoEntity> pageResult = dutyInfoService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, DutyInfoEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/admin/ProdAccidentController.java
对比新文件
@@ -0,0 +1,67 @@
package com.iailab.module.pms.production.work.controller.admin;
import com.iailab.framework.common.pojo.CommonResult;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.work.enity.ProdAccidentEntity;
import com.iailab.module.pms.production.work.service.ProdAccidentService;
import com.iailab.module.pms.production.work.vo.ProdAccidentPageReqVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
import static com.iailab.framework.common.pojo.CommonResult.success;
/**
 * 生产事故
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月05日 15:09:00
 */
@RestController
@RequestMapping("/prod/work/prodAccident")
public class ProdAccidentController {
    @Resource
    private ProdAccidentService prodAccidentService;
    @PostMapping("/create")
    @Operation(summary = "新增")
    public CommonResult<String> createProdAccident(@Valid @RequestBody ProdAccidentEntity createEntity) {
        return success(prodAccidentService.create(createEntity));
    }
    @PutMapping("/update")
    @Operation(summary = "更新")
    public CommonResult<Boolean> updateProdAccident(@Valid @RequestBody ProdAccidentEntity updateEntity) {
        prodAccidentService.update(updateEntity);
        return success(true);
    }
    @DeleteMapping("/delete")
    @Operation(summary = "删除")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<Boolean> deleteProdAccident(@RequestParam("id") String id) {
        prodAccidentService.delete(id);
        return success(true);
    }
    @GetMapping("/get")
    @Operation(summary = "详情")
    @Parameter(name = "id", description = "ID", required = true, example = "1024")
    public CommonResult<ProdAccidentEntity> getProdAccident(@RequestParam("id") String id) {
        ProdAccidentEntity data = prodAccidentService.getInfo(id);
        return success(BeanUtils.toBean(data, ProdAccidentEntity.class));
    }
    @GetMapping("/page")
    @Operation(summary = "分页")
    public CommonResult<PageResult<ProdAccidentEntity>> getProdAccidentPage(@Valid ProdAccidentPageReqVO pageVO) {
        PageResult<ProdAccidentEntity> pageResult = prodAccidentService.getPage(pageVO);
        return success(BeanUtils.toBean(pageResult, ProdAccidentEntity.class));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/package-info.java
copy from iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java copy to iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/controller/package-info.java
文件从 iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/controller/package-info.java 复制
@@ -3,4 +3,4 @@
 * 1. admin 包:提供给管理后台 iailab-ui-admin 前端项目
 * 2. app 包:提供给用户 APP iailab-ui-app 前端项目,它的 Controller 和 VO 都要添加 App 前缀,用于和管理后台进行区分
 */
package com.iailab.module.pms.controller;
package com.iailab.module.pms.production.work.controller;
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/DispatchLogDao.java
对比新文件
@@ -0,0 +1,17 @@
package com.iailab.module.pms.production.work.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.work.enity.DispatchLogEntity;
import com.iailab.module.pms.production.work.vo.DispatchLogPageReqVO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface DispatchLogDao extends BaseMapperX<DispatchLogEntity> {
    default PageResult<DispatchLogEntity> selectPage(DispatchLogPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<DispatchLogEntity>()
                .orderByDesc(DispatchLogEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/DutyInfoDao.java
对比新文件
@@ -0,0 +1,18 @@
package com.iailab.module.pms.production.work.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.work.enity.DutyInfoEntity;
import com.iailab.module.pms.production.work.vo.DutyInfoPageReqVO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface DutyInfoDao extends BaseMapperX<DutyInfoEntity> {
    default PageResult<DutyInfoEntity> selectPage(DutyInfoPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<DutyInfoEntity>()
                .orderByDesc(DutyInfoEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/dao/ProdAccidentDao.java
对比新文件
@@ -0,0 +1,17 @@
package com.iailab.module.pms.production.work.dao;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.iailab.module.pms.production.work.enity.ProdAccidentEntity;
import com.iailab.module.pms.production.work.vo.ProdAccidentPageReqVO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface ProdAccidentDao extends BaseMapperX<ProdAccidentEntity> {
    default PageResult<ProdAccidentEntity> selectPage(ProdAccidentPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<ProdAccidentEntity>()
                .orderByDesc(ProdAccidentEntity::getCjsj));
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/enity/DispatchLogEntity.java
对比新文件
@@ -0,0 +1,81 @@
package com.iailab.module.pms.production.work.enity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 *
 * @author DongYuKun
 * @Description
 * @createTime 2023年04月27日 09:41:58
 */
@Data
@TableName("t_work_dispatch_log")
public class DispatchLogEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 日期时间
     */
    private Date rqsj;
    /**
     * 日志类别(生产、非生产)
     */
    private String rzlb;
    /**
     * 班次
     */
    private String bc;
    /**
     * 日志标题
     */
    private String rzbt;
    /**
     * 日志内容
     */
    private String rznr;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/enity/DutyInfoEntity.java
对比新文件
@@ -0,0 +1,116 @@
package com.iailab.module.pms.production.work.enity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iailab.framework.common.annotation.UserRealName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 *
 * @author DongYuKun
 * @Description
 * @createTime 2023年04月27日
 */
@Data
@TableName("t_work_duty_info")
public class DutyInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 值班领导
     */
    private String zbld;
    /**
     * 值班领导姓名
     */
    @UserRealName(userid = "zbld")
    @TableField(exist = false)
    private String zbldName;
    /**
     * 值班调度
     */
    private String zbdd;
    /**
     * 值班调度姓名
     */
    @UserRealName(userid = "zbdd")
    @TableField(exist = false)
    private String zbddName;
    /**
     * 洗选车间值班
     */
    private String xxcjzb;
    /**
     * 洗选车间值班姓名
     */
    @UserRealName(userid = "xxcjzb")
    @TableField(exist = false)
    private String xxcjzbName;
    /**
     * 机电车间值班
     */
    private String jdcjzb;
    /**
     * 机电车间值班姓名
     */
    @UserRealName(userid = "jdcjzb")
    @TableField(exist = false)
    private String jdcjzbName;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/enity/ProdAccidentEntity.java
对比新文件
@@ -0,0 +1,108 @@
package com.iailab.module.pms.production.work.enity;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @author DongYukun
 * @Description
 * @createTime 2023年02月24日 16:59:20
 */
@Data
@TableName("t_work_prod_accident")
public class ProdAccidentEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;
    /**
     * 日期
     */
    private String rq;
    /**
     * 班次
     */
    private String bc;
    /**
     * 班次名称
     */
    @TableField(exist = false)
    private String bcName;
    /**
     * 流水号
     */
    private String lsh;
    /**
     * 影响范围
     */
    private String yxfw;
    /**
     * 事故内容
     */
    private String sgnr;
    /**
     * 开始时间
     */
    private Date kssj;
    /**
     * 结束时间
     */
    private Date jssj;
    /**
     * 持续时间
     */
    private Long cxsj;
    /**
     * 事故原因
     */
    private String sgyy;
    /**
     * 事故后果
     */
    private String sghg;
    /**
     * 备注
     */
    private String bz;
    /**
     * 创建人
     */
    private String cjr;
    /**
     * 创建时间
     */
    private Date cjsj;
    /**
     * 修改人
     */
    private String xgr;
    /**
     * 修改时间
     */
    private Date xgsj;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/DispatchLogService.java
对比新文件
@@ -0,0 +1,26 @@
package com.iailab.module.pms.production.work.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.work.enity.DispatchLogEntity;
import com.iailab.module.pms.production.work.vo.DispatchLogPageReqVO;
/**
 * 调度日志
 *
 * @author DongYuKun
 * @Description
 * @createTime 2023年04月27日 11:03:00
 */
public interface DispatchLogService{
    String create(DispatchLogEntity createEntity);
    String update(DispatchLogEntity createEntity);
    void delete(String id);
    DispatchLogEntity getInfo(String id);
    PageResult<DispatchLogEntity> getPage(DispatchLogPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/DutyInfoService.java
对比新文件
@@ -0,0 +1,26 @@
package com.iailab.module.pms.production.work.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.work.enity.DutyInfoEntity;
import com.iailab.module.pms.production.work.vo.DutyInfoPageReqVO;
/**
 * 当班信息
 *
 *
 * @author DongYuKun
 * @Description
 * @createTime 2023年04月27日 14:58:00
 */
public interface DutyInfoService {
    String create(DutyInfoEntity createEntity);
    String update(DutyInfoEntity createEntity);
    void delete(String id);
    DutyInfoEntity getInfo(String id);
    PageResult<DutyInfoEntity> getPage(DutyInfoPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/ProdAccidentService.java
对比新文件
@@ -0,0 +1,24 @@
package com.iailab.module.pms.production.work.service;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.pms.production.work.enity.ProdAccidentEntity;
import com.iailab.module.pms.production.work.vo.ProdAccidentPageReqVO;
/**
 * 生产事故
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年01月05日 15:13:00
 */
public interface ProdAccidentService {
    String create(ProdAccidentEntity createEntity);
    String update(ProdAccidentEntity createEntity);
    void delete(String id);
    ProdAccidentEntity getInfo(String id);
    PageResult<ProdAccidentEntity> getPage(ProdAccidentPageReqVO PageReqVO);
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/impl/DispatchLogServiceImpl.java
对比新文件
@@ -0,0 +1,59 @@
package com.iailab.module.pms.production.work.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.work.dao.DispatchLogDao;
import com.iailab.module.pms.production.work.enity.DispatchLogEntity;
import com.iailab.module.pms.production.work.service.DispatchLogService;
import com.iailab.module.pms.production.work.vo.DispatchLogPageReqVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * 调度日志
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年04月27日 11:03:30
 */
@Slf4j
@Service
public class DispatchLogServiceImpl implements DispatchLogService {
    @Resource
    private DispatchLogDao dispatchLogDao;
    @Override
    public String create(DispatchLogEntity createEntity) {
        DispatchLogEntity dto = BeanUtils.toBean(createEntity, DispatchLogEntity.class);
        dispatchLogDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(DispatchLogEntity createEntity) {
        DispatchLogEntity dto = BeanUtils.toBean(createEntity, DispatchLogEntity.class);
        dispatchLogDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        dispatchLogDao.deleteById(id);
    }
    @Override
    public DispatchLogEntity getInfo(String id) {
        return dispatchLogDao.selectById(id);
    }
    @Override
    public PageResult<DispatchLogEntity> getPage(DispatchLogPageReqVO PageReqVO) {
        return dispatchLogDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/impl/DutyInfoServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.work.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.work.dao.DutyInfoDao;
import com.iailab.module.pms.production.work.enity.DutyInfoEntity;
import com.iailab.module.pms.production.work.service.DutyInfoService;
import com.iailab.module.pms.production.work.vo.DutyInfoPageReqVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * 当班信息
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年04月27日 14:59:30
 */
@Service
public class DutyInfoServiceImpl implements DutyInfoService {
    @Resource
    private DutyInfoDao dutyInfoDao;
    @Override
    public String create(DutyInfoEntity createEntity) {
        DutyInfoEntity dto = BeanUtils.toBean(createEntity, DutyInfoEntity.class);
        dutyInfoDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(DutyInfoEntity createEntity) {
        DutyInfoEntity dto = BeanUtils.toBean(createEntity, DutyInfoEntity.class);
        dutyInfoDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        dutyInfoDao.deleteById(id);
    }
    @Override
    public DutyInfoEntity getInfo(String id) {
        return dutyInfoDao.selectById(id);
    }
    @Override
    public PageResult<DutyInfoEntity> getPage(DutyInfoPageReqVO PageReqVO) {
        return dutyInfoDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/service/impl/ProdAccidentServiceImpl.java
对比新文件
@@ -0,0 +1,56 @@
package com.iailab.module.pms.production.work.service.impl;
import com.iailab.framework.common.pojo.PageResult;
import com.iailab.framework.common.util.object.BeanUtils;
import com.iailab.module.pms.production.work.dao.ProdAccidentDao;
import com.iailab.module.pms.production.work.enity.ProdAccidentEntity;
import com.iailab.module.pms.production.work.service.ProdAccidentService;
import com.iailab.module.pms.production.work.vo.ProdAccidentPageReqVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * 当班信息
 *
 * @author DongYukun
 * @Description
 * @createTime 2023年04月27日 14:59:30
 */
@Service
public class ProdAccidentServiceImpl implements ProdAccidentService {
    @Resource
    private ProdAccidentDao prodAccidentDao;
    @Override
    public String create(ProdAccidentEntity createEntity) {
        ProdAccidentEntity dto = BeanUtils.toBean(createEntity, ProdAccidentEntity.class);
        prodAccidentDao.insert(dto);
        return dto.getId();
    }
    @Override
    public String update(ProdAccidentEntity createEntity) {
        ProdAccidentEntity dto = BeanUtils.toBean(createEntity, ProdAccidentEntity.class);
        prodAccidentDao.updateById(dto);
        return dto.getId();
    }
    @Override
    public void delete(String id) {
        prodAccidentDao.deleteById(id);
    }
    @Override
    public ProdAccidentEntity getInfo(String id) {
        return prodAccidentDao.selectById(id);
    }
    @Override
    public PageResult<ProdAccidentEntity> getPage(ProdAccidentPageReqVO PageReqVO) {
        return prodAccidentDao.selectPage(PageReqVO);
    }
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/vo/DispatchLogPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.work.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "调度日志")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DispatchLogPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/vo/DutyInfoPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.work.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "当班信息")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DutyInfoPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/production/work/vo/ProdAccidentPageReqVO.java
对比新文件
@@ -0,0 +1,23 @@
package com.iailab.module.pms.production.work.vo;
import com.iailab.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
 * @author DongYukun
 * @Description
 * @createTime 2024年12月03日
 */
@Schema(description = "生产事故")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProdAccidentPageReqVO extends PageParam {
    private String startDate;
    private String endDate;
}
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/service/demo/DemoService.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/service/demo/DemoServiceImpl.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/service/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/util/SecurityUtils.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/util/oauth2/OAuth2Utils.java
文件已删除
iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/util/package-info.java
文件已删除
iailab-xmc-pms-biz/src/main/resources/application-dev.yaml
@@ -35,7 +35,7 @@
      primary: master
      datasource:
        master:
          url: jdbc:mysql://172.16.8.100:3306/iailab_xmc_pms?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          url: jdbc:mysql://127.0.0.1:3306/iailab_xmc_pms?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          username: root
          password: 123456
        slave: # 模拟从库,可根据自己需要修改
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg1.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg2.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg3.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg4.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg5.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg6.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg7.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg8.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/original/bg9.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/1.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/10.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/11.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/12.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/13.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/14.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/15.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/16.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/17.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/18.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/19.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/8.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/11/9.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/2.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/3.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/jigsaw/slidingBlock/4.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg1.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg10.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg2.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg3.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg4.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg5.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg6.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg7.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg8.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/images/pic-click/bg9.png
Binary files differ
iailab-xmc-pms-biz/src/main/resources/mapper/hourVolume/HourVolumeDao.xml
对比新文件
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.iailab.module.pms.production.wash.dao.HourVolumeDao">
    <select id="selectListByName" resultType="java.lang.String">
    SELECT
    b.${name}
    FROM
    (
    SELECT '08' AS time, 1 AS sort_order UNION ALL
    SELECT '09' AS time, 2 AS sort_order UNION ALL
    SELECT '10' AS time, 3 AS sort_order UNION ALL
    SELECT '11' AS time, 4 AS sort_order UNION ALL
    SELECT '12' AS time, 5 AS sort_order UNION ALL
    SELECT '13' AS time, 6 AS sort_order UNION ALL
    SELECT '14' AS time, 7 AS sort_order UNION ALL
    SELECT '15' AS time, 8 AS sort_order UNION ALL
    SELECT '16' AS time, 9 AS sort_order UNION ALL
    SELECT '17' AS time, 10 AS sort_order UNION ALL
    SELECT '18' AS time, 11 AS sort_order UNION ALL
    SELECT '19' AS time, 12 AS sort_order UNION ALL
    SELECT '20' AS time, 13 AS sort_order UNION ALL
    SELECT '21' AS time, 14 AS sort_order UNION ALL
    SELECT '22' AS time, 15 AS sort_order UNION ALL
    SELECT '23' AS time, 16 AS sort_order UNION ALL
    SELECT '00' AS time, 17 AS sort_order UNION ALL
    SELECT '01' AS time, 18 AS sort_order UNION ALL
    SELECT '02' AS time, 19 AS sort_order UNION ALL
    SELECT '03' AS time, 20 AS sort_order UNION ALL
    SELECT '04' AS time, 21 AS sort_order UNION ALL
    SELECT '05' AS time, 22 AS sort_order UNION ALL
    SELECT '06' AS time, 23 AS sort_order UNION ALL
    SELECT '07' AS time, 24 AS sort_order
    ) a left join (
    SELECT
    ${name}
    ,sj
    FROM t_wash_hour_volume
    WHERE
    sj &gt;= #{startTime}
    AND
    sj &lt;= #{endTime}
    ) b
    ON
    a.time = DATE_FORMAT(b.sj,'%H')
    ORDER BY
    a.sort_order
    </select>
</mapper>
iailab-xmc-pms-biz/src/main/resources/mapper/job/ScheduleJobDao.xml
文件已删除
iailab-xmc-pms-biz/src/main/resources/mapper/job/ScheduleJobLogDao.xml
文件已删除