选煤厂生产管理平台后台代码
7e21bc617f3444c5a3b26ed88ea9ea7765e44d34..b643c158bc05f2a7f95bb9fed15a1451691eaef4
2024-12-10 dongyukun
common依赖版本去除快照
b643c1 对比 | 目录
2024-12-10 dongyukun
生产调度
532d0b 对比 | 目录
已修改3个文件
已删除86个文件
已重命名1个文件
已复制4个文件
已添加96个文件
7044 ■■■■■ 文件已修改
iailab-xmc-pms-biz/pom.xml 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/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.yaml 11 ●●●●● 补丁 | 查看 | 原始文档 | 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/pom.xml
@@ -129,7 +129,7 @@
        <dependency>
            <groupId>com.iailab</groupId>
            <artifactId>iailab-iems-common</artifactId>
            <version>1.0-SNAPSHOT</version>
            <version>1.0</version>
        </dependency>
    </dependencies>
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/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
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/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
文件名从 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.yaml
@@ -152,17 +152,6 @@
      - qrtz_triggers
      - schedule_job
      - schedule_job_log
      - t_coal_wash_curves
      - t_coal_analysis_full_det
      - t_coal_analysis_full
      - t_coal_wash_curves_chart
      - t_coal_wash_curves_det
      - t_coal_wash_curves
      - t_quality_wash_target
      - t_quality_detection
      - t_quality_medium
      - t_quality_quick_detection
      - t_quality_tailing
  swagger:
    title: 选煤厂生产管理平台
    description: 选煤厂生产管理平台
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
文件已删除