From 3015a43a5572f27f079f7e3281a9998352d7d1f7 Mon Sep 17 00:00:00 2001 From: LGH <1746689524@qq.com> Date: Tue, 12 Jul 2022 23:00:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=BF=87id=E5=88=A0=E9=99=A4=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E5=8D=95=E4=B8=8D=E4=B8=8A=E6=8A=A5apms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mt/wms/empty/service/impl/CurrTaskServiceImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java index ad484a9..4db191c 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java @@ -247,10 +247,14 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService for (CurrTask currTask1:currTaskList ) { currTaskDetServiceBiz.remove(new QueryWrapper().eq(CurrTaskDet.CURR_TASK_ID,currTask1.getId())); + currTaskServiceBiz.removeById(currTask1); } + return R.ok(idParam.getId().toString()); + }else { + currTaskServiceBiz.removeById(idParam); + return R.ok(idParam.getId().toString()); } - currTaskServiceBiz.removeById(idParam); - return R.ok(idParam.getId().toString()); + } @Override