From aeae9d651166672cfc5226ccd09afa4e560e99a8 Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Wed, 5 Aug 2026 15:13:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B4=E7=9A=AE=E5=88=86=E8=A7=A3=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=9D=BF=E4=BB=B6=E5=88=97=E8=A1=A8=E3=80=81=E8=B4=B4?= =?UTF-8?q?=E7=9A=AE=E7=AE=A1=E7=90=86=E8=8E=B7=E5=8F=96=E8=B4=B4=E7=9A=AE?= =?UTF-8?q?=E5=88=97=E8=A1=A8=20=E8=AE=A2=E5=8D=95/=E6=9D=BF=E6=9D=90?= =?UTF-8?q?=E7=BB=B4=E5=BA=A6=E5=90=88=E4=B8=BA=E4=B8=80=E4=B8=AA=E5=85=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../executor/enums/ErrorCodeConstants.java | 1 + .../veneer/VeneerDecomposeController.java | 26 ++------- .../admin/veneer/VeneerManageController.java | 26 ++------- .../vo/VeneerDecomposePlatePageReqVO.java | 4 +- .../veneer/vo/VeneerManagePlateListReqVO.java | 8 +-- .../mysql/veneer/VeneerDecomposeMapper.java | 14 +---- .../dal/mysql/veneer/VeneerManageMapper.java | 12 +--- .../veneer/VeneerDecomposeService.java | 14 +---- .../veneer/VeneerDecomposeServiceImpl.java | 17 ++---- .../service/veneer/VeneerManageService.java | 14 +---- .../veneer/VeneerManageServiceImpl.java | 17 ++---- .../mapper/veneer/VeneerDecomposeMapper.xml | 45 +-------------- .../mapper/veneer/VeneerManageMapper.xml | 55 +++---------------- .../message_errorcode_cht.properties | 1 + .../resources/message_errorcode_en.properties | 1 + .../resources/message_errorcode_zh.properties | 1 + 16 files changed, 50 insertions(+), 206 deletions(-) diff --git a/cf-module-prod-executor/cf-module-prod-executor-api/src/main/java/com/cf/imes/module/executor/enums/ErrorCodeConstants.java b/cf-module-prod-executor/cf-module-prod-executor-api/src/main/java/com/cf/imes/module/executor/enums/ErrorCodeConstants.java index a4086adaa..27b1dc585 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-api/src/main/java/com/cf/imes/module/executor/enums/ErrorCodeConstants.java +++ b/cf-module-prod-executor/cf-module-prod-executor-api/src/main/java/com/cf/imes/module/executor/enums/ErrorCodeConstants.java @@ -217,6 +217,7 @@ public class ErrorCodeConstants { public static final ErrorCode VENEER_DECOMPOSE_GOODS_IDS_REQUIRED = new ErrorCode(1_003_009_054, "veneer.decompose.goods.ids.required"); public static final ErrorCode ORDER_VENEER_GOODS_CREATE_FAILED = new ErrorCode(1_003_009_055, "order.veneer.goods.create.failed"); public static final ErrorCode ORDER_VENEER_GOODS_STATUS_CHANGED = new ErrorCode(1_003_009_056, "order.veneer.goods.status.changed"); + public static final ErrorCode VENEER_PLATE_QUERY_SCOPE_REQUIRED = new ErrorCode(1_003_009_057, "veneer.plate.query.scope.required"); //=========== 部件管理 1-003-010-000 ============ public static final ErrorCode ORDER_COMPONENT_NOT_EXIST = new ErrorCode(1_003_010_000, "order.component.not.exist"); diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerDecomposeController.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerDecomposeController.java index 47e626854..8239a5bdb 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerDecomposeController.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerDecomposeController.java @@ -64,31 +64,17 @@ public class VeneerDecomposeController { } /** - * 按订单查询未贴皮分解板件列表。 + * 按订单和/或板材查询未贴皮分解板件及造型数据。 * - * @param req 查询条件,必须包含订单ID列表 + * @param req 查询条件,订单ID列表和板材商品编码列表至少传入一项 * @return 板件及板件造型数据 */ - @PostMapping("/order/plate/page") - @Operation(summary = "获取订单下待贴皮分解板件列表") + @PostMapping("/plate/data") + @Operation(summary = "获取待贴皮分解板件数据") @PreAuthorize("@ss.hasPermission('unplannedOrders:query')") - public CommonResult getVeneerDecomposeOrderPlateData( + public CommonResult getVeneerDecomposePlateData( @Valid @RequestBody VeneerDecomposePlatePageReqVO req) { - return success(veneerDecomposeService.getOrderPlateList(req)); - } - - /** - * 按板材查询未贴皮分解板件列表。 - * - * @param req 查询条件,必须包含商品编码列表 - * @return 板件及板件造型数据 - */ - @PostMapping("/goods/plate/page") - @Operation(summary = "获取材质下待贴皮分解板件列表") - @PreAuthorize("@ss.hasPermission('unplannedOrders:query')") - public CommonResult getVeneerDecomposeGoodsPlateData( - @Valid @RequestBody VeneerDecomposePlatePageReqVO req) { - return success(veneerDecomposeService.getGoodsPlateList(req)); + return success(veneerDecomposeService.getPlateData(req)); } /** diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerManageController.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerManageController.java index 521a93286..94f785a84 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerManageController.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/VeneerManageController.java @@ -67,31 +67,17 @@ public class VeneerManageController { } /** - * 按订单查询可维护的未排单板件贴皮列表。 + * 按订单和/或贴皮商品查询可维护的未排单板件贴皮列表。 * - * @param req 查询条件,必须包含订单ID列表,可按房间和柜体筛选 + * @param req 查询条件,订单ID列表和贴皮商品编码列表至少传入一项 * @return 未排单板件贴皮列表 */ - @PostMapping("/order/plate/list") - @Operation(summary = "按订单获取可维护的未排单板件贴皮列表") + @PostMapping("/plate/list") + @Operation(summary = "获取可维护的未排单板件贴皮列表") @PreAuthorize("@ss.hasPermission('unplannedOrders:query')") - public CommonResult> getVeneerManageOrderPlateList( + public CommonResult> getVeneerManagePlateList( @Valid @RequestBody VeneerManagePlateListReqVO req) { - return success(veneerManageService.getOrderPlateList(req)); - } - - /** - * 按贴皮商品查询可维护的未排单板件贴皮列表。 - * - * @param req 查询条件,必须包含贴皮商品编码列表 - * @return 未排单板件贴皮列表 - */ - @PostMapping("/goods/plate/list") - @Operation(summary = "按贴皮商品获取可维护的未排单板件贴皮列表") - @PreAuthorize("@ss.hasPermission('unplannedOrders:query')") - public CommonResult> getVeneerManageGoodsPlateList( - @Valid @RequestBody VeneerManagePlateListReqVO req) { - return success(veneerManageService.getGoodsPlateList(req)); + return success(veneerManageService.getPlateList(req)); } /** diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerDecomposePlatePageReqVO.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerDecomposePlatePageReqVO.java index cdacfe13a..68807fe0a 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerDecomposePlatePageReqVO.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerDecomposePlatePageReqVO.java @@ -11,7 +11,7 @@ import java.util.List; @Data public class VeneerDecomposePlatePageReqVO { - @Schema(description = "订单ID列表") + @Schema(description = "订单ID列表,与板材商品编码列表至少传入一项;同时传入时取交集") private List orderIds; @Schema(description = "房间ID列表") @@ -20,6 +20,6 @@ public class VeneerDecomposePlatePageReqVO { @Schema(description = "柜体ID列表") private List bodyIds; - @Schema(description = "板材商品编码列表") + @Schema(description = "板材商品编码列表,与订单ID列表至少传入一项;同时传入时取交集") private List goodsIds; } diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerManagePlateListReqVO.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerManagePlateListReqVO.java index 34e9709ef..edc5f5a06 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerManagePlateListReqVO.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/controller/admin/veneer/vo/VeneerManagePlateListReqVO.java @@ -11,15 +11,15 @@ import java.util.List; @Data public class VeneerManagePlateListReqVO { - @Schema(description = "订单ID列表") + @Schema(description = "订单ID列表,与贴皮商品编码列表至少传入一项;同时传入时取交集") private List orderIds; - @Schema(description = "房间ID列表,仅按订单查询时生效") + @Schema(description = "房间ID列表") private List roomIds; - @Schema(description = "柜体ID列表,仅按订单查询时生效") + @Schema(description = "柜体ID列表") private List bodyIds; - @Schema(description = "贴皮商品编码列表") + @Schema(description = "贴皮商品编码列表,与订单ID列表至少传入一项;同时传入时取交集") private List goodsIds; } diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerDecomposeMapper.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerDecomposeMapper.java index d7f366262..83c2ede2a 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerDecomposeMapper.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerDecomposeMapper.java @@ -80,23 +80,13 @@ public interface VeneerDecomposeMapper { @Param("req") VeneerDecomposeGoodsPageReqVO req); /** - * 按订单查询未贴皮分解板件原始列表。 + * 按订单和/或板材查询未贴皮分解板件原始列表。 * 同一板件可能因多个加工组返回多条记录,由 Service 层按板件主键去重。 * * @param req 查询条件 * @return 板件原始列表 */ - List selectOrderPlateList( - @Param("req") VeneerDecomposePlatePageReqVO req); - - /** - * 按板材查询未贴皮分解板件原始列表。 - * 同一板件可能因多个加工组返回多条记录,由 Service 层按板件主键去重。 - * - * @param req 查询条件 - * @return 板件原始列表 - */ - List selectGoodsPlateList( + List selectPlateList( @Param("req") VeneerDecomposePlatePageReqVO req); /** diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerManageMapper.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerManageMapper.java index d11fcde14..5e63d248c 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerManageMapper.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/veneer/VeneerManageMapper.java @@ -106,20 +106,12 @@ public interface VeneerManageMapper { @Param("orderDateTime") LocalDateTime[] orderDateTime); /** - * 按订单查询可维护的未排单板件贴皮列表。 - * - * @param req 订单、房间及柜体查询条件 - * @return 未排单板件贴皮列表 - */ - List selectOrderPlateList(@Param("req") VeneerManagePlateListReqVO req); - - /** - * 按贴皮商品编码查询可维护的未排单板件贴皮列表。 + * 按订单和/或贴皮商品编码查询可维护的未排单板件贴皮列表。 * * @param req 订单、贴皮商品、房间及柜体查询条件 * @return 未排单板件贴皮列表 */ - List selectGoodsPlateList( + List selectPlateList( @Param("req") VeneerManagePlateListReqVO req); /** diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeService.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeService.java index 4b987ee9c..71955cd57 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeService.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeService.java @@ -33,20 +33,12 @@ public interface VeneerDecomposeService { PageResult getGoodsPage(VeneerDecomposeGoodsPageReqVO req); /** - * 按订单查询未贴皮分解板件列表。 + * 按订单和/或板材查询未贴皮分解板件列表。 * - * @param req 查询条件,必须包含订单 ID 列表 + * @param req 订单、板材、房间及柜体查询条件 * @return 去重后的板件及板件造型数据 */ - VeneerDecomposePlateDataRespVO getOrderPlateList(VeneerDecomposePlatePageReqVO req); - - /** - * 按板材查询未贴皮分解板件列表。 - * - * @param req 查询条件,必须包含商品编码列表 - * @return 去重后的板件及板件造型数据 - */ - VeneerDecomposePlateDataRespVO getGoodsPlateList(VeneerDecomposePlatePageReqVO req); + VeneerDecomposePlateDataRespVO getPlateData(VeneerDecomposePlatePageReqVO req); /** * 将原板件分解为 A 面和/或 B 面贴皮记录。 diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeServiceImpl.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeServiceImpl.java index 8f44bd796..dbd32ac00 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeServiceImpl.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerDecomposeServiceImpl.java @@ -61,6 +61,7 @@ import static com.cf.imes.module.executor.enums.ErrorCodeConstants.ORDER_PLATE_U import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_DECOMPOSE_GOODS_IDS_REQUIRED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_DECOMPOSE_ORDER_IDS_REQUIRED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_DECOMPOSE_PLATE_SIZE_INVALID; +import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_PLATE_QUERY_SCOPE_REQUIRED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_DECOMPOSE_PLATE_STATUS_CHANGED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_DECOMPOSE_RECORD_INSERT_FAILED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_DECOMPOSE_SIDE_REQUIRED; @@ -189,19 +190,11 @@ public class VeneerDecomposeServiceImpl implements VeneerDecomposeService { } @Override - public VeneerDecomposePlateDataRespVO getOrderPlateList(VeneerDecomposePlatePageReqVO req) { - if (CollUtil.isEmpty(req.getOrderIds())) { - return buildPlateData(List.of()); + public VeneerDecomposePlateDataRespVO getPlateData(VeneerDecomposePlatePageReqVO req) { + if (CollUtil.isEmpty(req.getOrderIds()) && CollUtil.isEmpty(req.getGoodsIds())) { + throw new ServiceException(VENEER_PLATE_QUERY_SCOPE_REQUIRED); } - return buildPlateData(veneerDecomposeMapper.selectOrderPlateList(req)); - } - - @Override - public VeneerDecomposePlateDataRespVO getGoodsPlateList(VeneerDecomposePlatePageReqVO req) { - if (CollUtil.isEmpty(req.getGoodsIds())) { - return buildPlateData(List.of()); - } - return buildPlateData(veneerDecomposeMapper.selectGoodsPlateList(req)); + return buildPlateData(veneerDecomposeMapper.selectPlateList(req)); } /** diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageService.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageService.java index fcbd56ab3..4601302f9 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageService.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageService.java @@ -52,20 +52,12 @@ public interface VeneerManageService { PageResult getUnplannedGoodsPage(VeneerManageGoodsPageReqVO req); /** - * 按订单查询可维护的未排单板件贴皮列表。 + * 按订单和/或贴皮商品查询可维护的未排单板件贴皮列表。 * - * @param req 查询条件,必须包含订单ID列表,可按房间和柜体筛选 + * @param req 订单、贴皮商品、房间及柜体查询条件 * @return 未排单板件贴皮列表 */ - List getOrderPlateList(VeneerManagePlateListReqVO req); - - /** - * 按板材查询可维护的未排单板件贴皮列表。 - * - * @param req 查询条件,必须包含板材商品编码列表 - * @return 未排单板件贴皮列表 - */ - List getGoodsPlateList(VeneerManagePlateListReqVO req); + List getPlateList(VeneerManagePlateListReqVO req); /** * 按订单或板材查询未排贴皮、原板件及板件造型数据。 diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageServiceImpl.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageServiceImpl.java index add72ee93..baa859478 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageServiceImpl.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/service/veneer/VeneerManageServiceImpl.java @@ -49,6 +49,7 @@ import java.util.Set; import static com.cf.imes.framework.common.pojo.PageParam.PAGE_SIZE_NONE; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_NOT_EXIST; +import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_PLATE_QUERY_SCOPE_REQUIRED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_REMOVE_RECORD_REQUIRED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_REMOVE_RECORD_STATUS_CHANGED; import static com.cf.imes.module.executor.enums.ErrorCodeConstants.VENEER_RESELECT_RECORD_REQUIRED; @@ -195,19 +196,11 @@ public class VeneerManageServiceImpl implements VeneerManageService { } @Override - public List getOrderPlateList(VeneerManagePlateListReqVO req) { - if (CollUtil.isEmpty(req.getOrderIds())) { - return List.of(); + public List getPlateList(VeneerManagePlateListReqVO req) { + if (CollUtil.isEmpty(req.getOrderIds()) && CollUtil.isEmpty(req.getGoodsIds())) { + throw new ServiceException(VENEER_PLATE_QUERY_SCOPE_REQUIRED); } - return veneerManageMapper.selectOrderPlateList(req); - } - - @Override - public List getGoodsPlateList(VeneerManagePlateListReqVO req) { - if (CollUtil.isEmpty(req.getGoodsIds())) { - return List.of(); - } - return veneerManageMapper.selectGoodsPlateList(req); + return veneerManageMapper.selectPlateList(req); } @Override diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/mapper/veneer/VeneerDecomposeMapper.xml b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/mapper/veneer/VeneerDecomposeMapper.xml index 6c90741aa..3f9025cfb 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/mapper/veneer/VeneerDecomposeMapper.xml +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/mapper/veneer/VeneerDecomposeMapper.xml @@ -343,7 +343,7 @@ op.model_data AS modelData - SELECT FROM order_plate op @@ -386,49 +386,6 @@ ORDER BY op.id DESC, oi.group_id - - + - - opv.id, opv.order_id AS orderId, diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_cht.properties b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_cht.properties index 326cbe37d..93fa51919 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_cht.properties +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_cht.properties @@ -154,3 +154,4 @@ parts.heapsplit.num.not.enough=配件可分堆數量不足,請重繪後再次 parts.heapsplit.item.source.not.exist=配件分堆數據异常,請重繪後再次分堆 plan.not.allow.delete=排單號:{0}已開料無法刪除 +veneer.plate.query.scope.required=訂單ID列表和商品編碼列表至少傳入一項 diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_en.properties b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_en.properties index 4bda7dc4d..17cfe3827 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_en.properties +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_en.properties @@ -155,3 +155,4 @@ parts.heapsplit.item.source.not.exist=Abnormal accessory stacking data, please r plan.not.allow.delete=Plan number: {0} has been cut and cannot be deleted producing.plan.order.sync.failed=Failed to synchronize component production plan order: {0} +veneer.plate.query.scope.required=At least one of the order ID list and goods code list must be provided diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_zh.properties b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_zh.properties index b8cfe8f3d..5f188bd00 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_zh.properties +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/resources/message_errorcode_zh.properties @@ -155,3 +155,4 @@ parts.heapsplit.item.source.not.exist=配件分堆数据异常,请刷新后再 plan.not.allow.delete=排单号:{0}已开料无法删除 producing.plan.order.sync.failed=同步组件生产排单失败:{0} +veneer.plate.query.scope.required=订单ID列表和商品编码列表至少传入一项