feat(sap): 添加ZJS单据类型映射支持

- 新增ZJS单据类型到1011的映射逻辑
- 保持现有ZLR2单据类型映射不变
- 扩展默认处理逻辑以支持新的单据类型
This commit is contained in:
yangyufu
2026-06-15 17:22:02 +08:00
parent c1fe2e18ff
commit 3b1d413025
2 changed files with 1 additions and 2 deletions

View File

@@ -114,7 +114,6 @@ public class LmsToMesController {
@PostMapping("/ChildScrapUpdate") @PostMapping("/ChildScrapUpdate")
@Log("成品日报推送") @Log("成品日报推送")
public ResponseEntity<Object> ChildScrapUpdate(@RequestBody JSONObject jo) { public ResponseEntity<Object> ChildScrapUpdate(@RequestBody JSONObject jo) {
return new ResponseEntity<>(lmsToMesService.ChildScrapUpdate(jo), HttpStatus.OK); return new ResponseEntity<>(lmsToMesService.ChildScrapUpdate(jo), HttpStatus.OK);
} }

View File

@@ -1008,7 +1008,7 @@ public class LmsToMesServiceImpl implements LmsToMesService {
} catch (Exception e) { } catch (Exception e) {
// 记录失败日志 // 记录失败日志
OutboundApiLogger.logFail("mes", "/CamstarApi/momGetPackingInfo", "根据木号母卷获取包装信息", OutboundApiLogger.logFail("mes", "/CamstarApi/momGetPackingInfo", "根据木号母卷获取包装信息",
url, "POST", JSONUtil.toJsonStr(param), e.getMessage(), url, "POST", JSONUtil.toJsonStr(param), e.getMessage(),
System.currentTimeMillis() - startTime); System.currentTimeMillis() - startTime);
throw new BadRequestException("MES提示错误" + e.getMessage()); throw new BadRequestException("MES提示错误" + e.getMessage());