From b267af1b816f646fa02c6f4983ebb3f9825cc192 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期六, 13 四月 2024 15:00:44 +0800 Subject: [PATCH] 单据管理:1.销售账号,在系统里面单据管理这里A销售员做的单子,在它的账号只显示自己的客户信息,不同的账号,看不到别人的信息,管理员是可以全部看的 2.增加客户名称,操作员搜索 --- src/main/java/com/zy/asrs/service/impl/PakoutServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/PakoutServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/PakoutServiceImpl.java index 5e56251..09b1651 100644 --- a/src/main/java/com/zy/asrs/service/impl/PakoutServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/PakoutServiceImpl.java @@ -58,7 +58,7 @@ List<Pakout> pakouts = selectList(new EntityWrapper<Pakout>().eq("doc_num", docNum)); for (Pakout pakout: pakouts){ - Pla pla = plaService.selectByBatchAndPackageNo(pakout.getBatch(), pakout.getBarcode()); + Pla pla = plaService.selectByBatchAndPackageNo(pakout.getBatch(), Integer.parseInt(pakout.getBarcode()), pakout.getMaktx()); if(!Cools.isEmpty(pla)){ pla.setQtyAnfme(pla.getQtyAnfme() - pakout.getAnfme()); pla.setModifyTime(new Date()); @@ -116,7 +116,7 @@ } //鏇存柊pla淇℃伅 - Pla pla = plaService.selectByBatchAndPackageNo(pakout.getBatch(), pakout.getBarcode()); + Pla pla = plaService.selectByBatchAndPackageNo(pakout.getBatch(), Integer.parseInt(pakout.getBarcode()),pakout.getMaktx()); pla.setQtyAnfme(pla.getQtyAnfme() - pakout.getAnfme()); pla.setStatus(GlobleParameter.PLA_STATUS_1); pla.setModifyTime(new Date()); -- Gitblit v1.9.1