-
1. Service 层重构:接口只返回 DO,VO 拼接移至 Controller 2. Mapper 合并两个 selectPage 为一个方法(inIfPresent 兼容空集合) 3. 新增物料批量导入功能(ImportExcelVO + ImportRespVO + Controller 端点) 4. 分类查询支持子分类递归(getItemTypeChildrenList) 5. 物料分页查询自动包含选中分类的所有子分类 6. 分类删除移除 export-excel 端点 7. 校验逻辑简化:ObjUtil.notEqual 替代双 if 判断 8. collectChildren 重命名为 collectItemTypeChildren
-
迁移 ktg-mes 的 md_item_type 和 md_item 两张表到 yudao-module-mes, 包含完整的 CRUD、树形分类、物料分页查询、enrichment 等功能。 后端新增 17 个文件(1337 行): - DO: MesMdItemTypeDO(树形分类)、MesMdItemDO(物料产品) - VO: 分类 3 个(List/Save/Resp)、物料 3 个(Page/Save/Resp) - Mapper: 2 个(BaseMapperX,纯 Java,无 XML) - Service: 4 个(接口 + 实现) - Controller: 2 个(/mes/md/item-type、/mes/md/item) - ErrorCodeConstants 追加 9 个错误码 关键业务逻辑: - 分类:父分类递归环路检测、同级名称/编码唯一性、删除保护(子分类+物料) - 物料:编码/名称全局唯一、分类存在校验、安全库存联动清零 - enrichment:物料 RespVO 通过 Service 关联填充 itemTypeName、itemOrProduct - 循环依赖:MesMdItemTypeServiceImpl 用 @Lazy 注入 MesMdItemService plan: plans/swirling-stirring-metcalfe.md
-
新增 MES(制造执行系统)模块,包含 7 个业务域子包: - md:基础数据(物料、客户、供应商、车间、工位、BOM) - cal:日历排班(班次、班组、排班计划、假期) - dv:设备管理(设备台账、点检、保养、维修) - tm:工具管理(工具类型、工具台账) - pro:生产管理(工序、工艺路线、工单、任务、报工、安灯) - qc:质量管理(检验模板、IQC/IPQC/OQC/RQC、缺陷) - wm:仓库管理(仓库/库区/库位、库存、出入库、调拨、盘点) 具体变更: 1. 新增 yudao-module-mes 模块(pom.xml + 目录结构) 2. 注册到根 pom.xml 和 yudao-server pom.xml 3. 新增 ErrorCodeConstants(1-040-000-000 段,按业务域加前缀) 4. 新增 DictTypeConstants、MesWebConfiguration(Swagger 分组) 5. 新增各层 package-info.java 说明
-
Merge pull request !1518 from 芋道源码/feature/iot
-
Merge pull request !1498 from 芋道源码/feature/iot-modbus
-
Merge pull request !1513 from 芋道源码/feature/iot-protocol
-
Merge pull request !1516 from mcarthorlee/fix/master-jdk17-build-failure
-
- IotDeviceMessage/IotDeviceMessageDO/IotDeviceMessageRespVO: thing.property.report→thing.property.post - IotDeviceMessageMethodEnum: OTA 固定信息推送→OTA 固件信息推送
-
1. 新增 3 个 DTO: - IotDevicePropertySetReqDTO:属性设置(下行) - IotDeviceServiceInvokeReqDTO:服务调用(下行) - IotDeviceConfigPushReqDTO:配置推送(下行) 2. 所有现有 DTO 的 javadoc 补充 {@link IotDeviceMessageMethodEnum#XXX} 引用 -
1. 新增 3 个 DTO: - IotDevicePropertySetReqDTO:属性设置(下行) - IotDeviceServiceInvokeReqDTO:服务调用(下行) - IotDeviceConfigPushReqDTO:配置推送(下行) 2. 所有现有 DTO 的 javadoc 补充 {@link IotDeviceMessageMethodEnum#XXX} 引用
-
新增 IotDeviceStateUpdateReqDTO、IotDeviceOtaUpgradeReqDTO、IotDeviceOtaProgressReqDTO, 替换 IotDeviceMessage 和 IotOtaTaskRecordServiceImpl 中的裸 Map 构造和解析, 删除 IotDeviceMessage.buildOtaUpgrade() 方法。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-
Signed-off-by: mcarthorlee <macarthorzhuce@126.com>
-
…-pro into feature/iot-modbus # Conflicts: # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/codec/tcp/IotTcpBinaryDeviceMessageCodec.java # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/codec/tcp/IotTcpJsonDeviceMessageCodec.java # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/config/IotGatewayConfiguration.java # yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/config/IotGatewayProperties.java # yudao-module-iot/yudao-module-iot-gateway/src/main/resources/application.yaml