From 0e25eec5416e056a3a7bb807f32713cfd2755fc5 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期二, 24 九月 2024 13:36:11 +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 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