From e353b0bdc9124af057f1611d943b8a460342c03d Mon Sep 17 00:00:00 2001 From: JilingLee <18850011309@139.com> Date: Tue, 19 Sep 2023 14:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=86=8C=E9=AA=8C=E8=AF=81=E9=87=8D?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../archives/controller/admin/packages/PackagesController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/controller/admin/packages/PackagesController.java b/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/controller/admin/packages/PackagesController.java index 05d5de3b..fc8b013e 100644 --- a/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/controller/admin/packages/PackagesController.java +++ b/yudao-module-archives/yudao-module-archives-biz/src/main/java/cn/iocoder/yudao/module/archives/controller/admin/packages/PackagesController.java @@ -44,7 +44,8 @@ public class PackagesController { @Operation(summary = "创建装册") @PreAuthorize("@ss.hasPermission('archives:packages:create')") public CommonResult createPackages(@Valid @RequestBody PackagesCreateReqVO createReqVO) { - PackagesDO packages = packagesService.getByCodeValue(createReqVO.getCodeValue()); + String codeVaule = createReqVO.getCaseNum()+"-"+createReqVO.getCatalogNum()+"-"+createReqVO.getFilesNum(); + PackagesDO packages = packagesService.getByCodeValue(codeVaule); if (packages != null){ return error("该全宗号-目录号-案卷号已存在!请勿重复装册!"); }