From 2e81e85bb00702b3dbd632b94f534de0920d5321 Mon Sep 17 00:00:00 2001 From: gongbaoxiong Date: Thu, 25 Jul 2024 10:05:24 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E5=A2=9E=E5=8A=A0=E5=90=84=E7=B1=BB?= =?UTF-8?q?=E5=8D=95=E6=8D=AE=E8=A1=A8=E5=A4=B4=E7=89=A9=E6=96=99=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/AllocationBillController.java | 3 +- .../eas/controller/ReceiptBillController.java | 3 +- .../nl/wms/database/eas/dao/EasOutInBill.java | 5 + .../eas/dao/mapper/EasOutInBillMapper.java | 5 + .../eas/dao/xml/AllocationBillMapper.xml | 35 +-- .../eas/dao/xml/EasOutInBillMapper.xml | 32 ++ .../eas/dao/xml/ReceiptBillMapper.xml | 1 + .../database/eas/dto/EasOutInBillQuery.java | 5 + .../impl/EasOutInBillDetailServiceImpl.java | 5 +- .../service/impl/EasOutInBillServiceImpl.java | 275 ++++++++---------- 10 files changed, 186 insertions(+), 183 deletions(-) diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java index 9f4237d..7265eb9 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java @@ -98,8 +98,7 @@ public class AllocationBillController { if (params.isEmpty()) { throw new BadRequestException("参数为空!"); } - return RestBusinessTemplate.execute(() -> allocationBillService.allocationConfirm(params)); - //return RestBusinessTemplate.execute(() -> null); + return RestBusinessTemplate.execute1(() -> allocationBillService.allocationConfirm(params)); } diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/ReceiptBillController.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/ReceiptBillController.java index 223207a..5c5e8a1 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/ReceiptBillController.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/ReceiptBillController.java @@ -90,8 +90,7 @@ public class ReceiptBillController { if (params.isEmpty()) { throw new BadRequestException("参数为空!"); } - return RestBusinessTemplate.execute(() -> receiptBillService.receiptConfirm(params)); - //return RestBusinessTemplate.execute(() -> null); + return RestBusinessTemplate.execute1(() -> receiptBillService.receiptConfirm(params)); } /** diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java index 5d69425..9143ddc 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java @@ -173,6 +173,11 @@ public class EasOutInBill extends Model { */ private String shjg; + /** + * 物料编码 + */ + private String wlbm; + /** * 获取主键值 * diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java index 360d280..6b1bb55 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java @@ -21,6 +21,11 @@ import java.util.Set; */ public interface EasOutInBillMapper extends BaseMapper { + + Page selectPageList(Page page, @Param("fuzzy") String fuzzy,@Param("djlx") String djlx, @Param("cgybm") String cgybm,@Param("ckbm") String ckbm); + + + @DS("oracle_eas") List getEasBills(); diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml index cad7025..80f22ac 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml @@ -3,17 +3,11 @@ diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillMapper.xml b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillMapper.xml index b4bc30d..f7a4399 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillMapper.xml +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillMapper.xml @@ -1,6 +1,38 @@ +