From a20efa693a606293fa158a66f569aea72c7fad0d Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期六, 23 十一月 2024 10:03:09 +0800 Subject: [PATCH] 修复库存利用率接口URL拼写错误 --- src/main/java/com/zy/third/erp/task/ERPItemService.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/third/erp/task/ERPItemService.java b/src/main/java/com/zy/third/erp/task/ERPItemService.java index dc32a83..8a81a98 100644 --- a/src/main/java/com/zy/third/erp/task/ERPItemService.java +++ b/src/main/java/com/zy/third/erp/task/ERPItemService.java @@ -122,7 +122,7 @@ */ protected void deleteFromMainDatabase(ItemTB itemTB) { EntityWrapper<Mat> matCodeEntityWrapper = new EntityWrapper<>(); - matCodeEntityWrapper.eq("matnr", itemTB.getItemCode()); + matCodeEntityWrapper.eq("matnr", itemTB.getItemId()); matMapper.delete(matCodeEntityWrapper); } -- Gitblit v1.9.1