From 9ef9076a630ead624c2c24bee28454836eb25b84 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期五, 20 九月 2024 08:24:48 +0800 Subject: [PATCH] 初步改完,接下来进行测试 --- 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 7a0fc71..fb751fc 100644 --- a/src/main/java/com/zy/third/erp/task/ERPItemService.java +++ b/src/main/java/com/zy/third/erp/task/ERPItemService.java @@ -118,7 +118,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