Commit Graph

578 Commits

Author SHA1 Message Date
134edcaeb1 feat(integration): add prd-hm script to replace 110 jar without Rainbond 2026-09-10 10:29:21 +08:00
4acd51bf3c fix(integration): return MES inventory on consume voucher reverse
After SAP 262 whole-voucher cancel, write the reverse WMS qty back to the original line-side lot and clear consume occupancy.
2026-09-09 17:39:11 +08:00
4c66da0d0f fix(integration): keep 102 posting when WMS inventory token expires
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 17:58:40 +08:00
4d5e9acc15 feat(integration): allow MES inner call to post consume 261
N/E consume repost needs the existing callErpMaterial path from MES so the new qty can be sent to SAP.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 14:58:53 +08:00
24bf6f4f5c feat(integration): add single-item 102 reverse and 101 repost
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 16:11:59 +08:00
de4d705706 fix(integration): mark 262 material adjustments as reversals 2026-08-24 14:26:32 +08:00
eb528db1f7 fix(integration): 差异调整262冲销补充预留号和预留行号 2026-08-19 13:26:29 +08:00
2134cbd685 feat(发货单同步接口): 解析SAP交货单明细质检字段ZDJCD/ZLEVEL
SAP发货单同步接口(SAP_DISPATCH_NOTE)明细新增ZDJCD(长度)、ZLEVEL(质检等级)字段解析。
经BeanUtils.copyProperties传入mom-wms的ZWmsDispatchNoteDetailItf(zdjcd/zlevel),
由ZWmsDispatchNoteItfServiceImpl落库至z_document_detailed的ZCT_CD、QUALITY_INSPECTION_STATUS。
2026-08-10 14:10:03 +08:00
79d72e9019 fix: configure OA environment via Nacos 2026-08-05 11:12:33 +08:00
72b383d6fa fix: configure SAP environment via Nacos 2026-08-05 11:03:55 +08:00
8693177d33 fix: remove INT dependency on new MES mapper 2026-07-31 17:13:12 +08:00
c1b76a8404 feat: add material consumption quantity adjustment 2026-07-31 17:09:31 +08:00
8120bb514b fix: guard null completed quantity 2026-07-28 17:16:12 +08:00
89aabd7b03 feat: 同步工单下单部门 2026-07-22 14:57:13 +08:00
9a079f8b81 fix: add SAP request timeouts 2026-07-06 15:40:40 +08:00
df4058a5fc Fix SAP production cancel operation field 2026-07-01 16:16:03 +08:00
9a1d95453a fix: avoid new MES API dependency in int build 2026-06-24 17:38:09 +08:00
b1677a0b82 feat: inherit coating sales assistant for out SAP stock 2026-06-24 17:34:53 +08:00
0a269bc71e feat: add SAP material reversal integration 2026-06-24 17:20:40 +08:00
1a6ad65bf4 feat: pass coating sales assistant from ERP order 2026-06-24 17:18:53 +08:00
ffb4c1d238 fix: split default material sync by month 2026-06-04 14:14:02 +08:00
431142ce08 fix: ignore material create date in sync job 2026-06-04 13:53:19 +08:00
44354e1f65 fix: adjust material sync default start date 2026-06-04 11:18:57 +08:00
4065c3c1a1 fix: use jenkins maven repo for prd deploy 2026-05-26 12:24:53 +08:00
872619621a fix: use jenkins maven repo for dev deploy 2026-05-26 10:23:23 +08:00
af934bc931 deploy: add prd release script 2026-05-25 16:18:45 +08:00
be055df74a chore: fallback to docker build in deploy script 2026-05-22 15:14:46 +08:00
68b566aaf6 chore: normalize int service deploy name 2026-05-22 14:48:36 +08:00
7c3e7cacfd feat: materiel sync defaults 2026-05-20 17:28:41 +08:00
f595fc7eef fix(integration): 优化报工和SAP响应的异常处理,添加productionDate非数据库字段标注 2026-04-02 13:13:54 +08:00
0c598a6fd1 fix: 生产日期字段类型修正
- OutMaterialCompleteLog.productionDate: Date改为String类型
- OutMaterialSapServiceImpl: 同步生产日期字段处理逻辑调整
2026-03-25 10:08:26 +08:00
b7491710cf 兼容多种打印字段 2026-03-20 15:16:00 +08:00
6a3065f19b Merge branch 'prd' of http://10.10.11.66:3000/mes/nalinv-int into prd 2026-02-26 10:32:19 +08:00
8b36d1233a fix(JMPrinter): 修正自动打印功能中的设备名称字段
- 将日志输出中的 printDevice 字段更改为 deviceName 字段
- 确保日志记录与实际使用的设备名称参数一致
2026-02-26 10:32:00 +08:00
b4a16a674d fix(JMPrinter): 修正自动打印功能中的设备名称字段
- 将日志输出中的 printDevice 字段更改为 deviceName 字段
- 确保日志记录与实际使用的设备名称参数一致
2026-01-15 17:15:01 +08:00
87f6ba5e43 feat(integration): 添加DN自动打印服务处理器
- 实现DnAutoPrinting类作为新的处理服务
- 集成HTTP客户端用于发送打印请求到外部服务
- 添加完整的请求响应处理逻辑和错误处理
- 实现日志记录和调试信息输出
- 添加对响应体中ok字段的业务逻辑验证
- 在IntegrationSrv常量类中添加DN_AUTO_PRINTING常量
- 新增CCD相关服务常量定义
2026-01-15 17:14:38 +08:00
8fbcaaefc4 feat(integration): 添加接头数量字段支持
- 在 OutMaterialCompleteLog 实体中新增 jointQuantity 字段
- 在 OutMaterialSapServiceImpl 中获取并设置 jointQuantity 值
- 当 jointQuantity 不为空时,将其设置到库存对象中
2025-12-11 16:24:23 +08:00
5db1d2c25a fix(integration): 修复库存设置中的输入输出类型条件判断
- 移除了对特定站点"3041"的硬编码检查
- 简化了输入输出类型的设置逻辑
- 提高了代码的通用性和可维护性
2025-11-25 14:43:16 +08:00
da1fdc94ac fix(inventory): 根据出入库类型更新库存信息
- 仅当站点为3041且出入库类型非空时设置库存的出入库类型
- 保留原有宽度设置逻辑不变
2025-11-25 14:41:21 +08:00
6e98fde315 refactor(entity): 修改出入库类型字段为字符串类型
- 将 OutMaterialCompleteLog 实体中的 inOutType 字段由 BigDecimal 类型改为 String 类型
- 调整了字段注解以适应新的数据类型
- 更新了相关 getter 和 setter 方法以确保兼容性
2025-11-25 14:01:09 +08:00
c5770b7e02 feat(inventory): 添加物料内外卷类型字段支持
- 在出库完成日志实体中新增 inOutType 字段
- 在库存记录中设置内外卷类型信息
- 支持通过 getInOutType 获取内外卷类型值
2025-11-25 13:54:00 +08:00
ddc7bf535c chore(deploy): 添加部署脚本和Procfile配置
- 新增macOS部署脚本(mac_deploy.sh)
- 新增Windows部署脚本(win_deploy.bat)
- 添加Procfile应用启动配置
- 实现自动初始化git仓库并强制推送部署分支
2025-11-17 15:18:54 +08:00
70a5363885 feat(integration): 新增CCD产品查询处理器并优化打印服务
- 新增 CCD_GET_PRODUCT 处理器,用于调用外部产品查询接口- 实现 GET 请求方式调用 CCD 接口,并处理响应结果- 在 JMStartPrinting 中增强日志输出,便于调试和监控
- 优化打印服务中的请求头设置与响应解析逻辑
- 统一使用 UTF-8 编码处理请求与响应数据
- 改进错误处理机制,确保异常情况返回正确的失败响应
2025-11-10 14:43:20 +08:00
fafdf594b6 feat(JMPrinter): 添加 Authorization 请求头- 在 HTTP 请求中添加了 Bearer Token- 设置 认证头了固定的 JWT令牌用于身份验证- 确保请求符合安全认证要求 2025-11-10 14:42:54 +08:00
71c9dfcdfb feat(integration): 新增 基膜打印相关接口实现
- 新增获取打印模板接口 GET_PRINT_TABLE- 实现从远程参数获取打印模板数据- 添加打印模板名称提取功能
- 新增启动打印接口 JM_START_PRINTING- 实现向远程服务发送打印指令
- 添加打印结果状态处理逻辑
- 在集成服务常量中注册新接口标识
2025-11-10 14:42:46 +08:00
3474c34abe fix(integration): 修改逻辑库存状态映射
- 将库存05状态 "10" 对应的 INSMK 值从 "2" 更正为 "S"- 确保 SAP 接口数据传输的准确性
2025-10-30 10:36:08 +08:00
00935c513d feat(erp): 新增生产计划外物料消耗报工功能- 实现了生产计划外物料消耗的ERP报工接口- 添加了库存记录的同步与校验逻辑
- 集成了SAP物料移动凭证的生成与调用
- 优化了物料消耗报工的异常处理机制- 调整了SAP库存同步字段命名以匹配接口要求
2025-10-27 10:17:41 +08:00
279a3ec2dd fix(sap):修正库存接口字段映射错误- 将错误的字段名 "ZECCBG" 更正为 "ZECCWBG"- 确保与 SAP 端字段定义一致
- 修复由此导致的数据传输问题
2025-10-27 10:17:38 +08:00
5eb1741bbe fix(sap):修复订单日期类型转换问题并增加库存字段
- 将订单日期从 LocalDateTime 转换为 String 类型- 在库存同步中新增 ZESBSL、ZEXHWBG 和 ZECCBG 字段- 确保 SAP 接口数据类型一致性
- 提高库存数据传输完整性
2025-10-27 10:17:28 +08:00
20509a3fb3 feat(erp): 新增生产计划外物料消耗报工功能- 实现了生产计划外物料消耗的ERP报工接口- 添加了库存记录的同步与校验逻辑
- 集成了SAP物料移动凭证的生成与调用
- 优化了物料消耗报工的异常处理机制- 调整了SAP库存同步字段命名以匹配接口要求
2025-10-22 09:49:49 +08:00