From 111330b2dd0bccc176ab9c6324a6ed01d5bc0e93 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期四, 12 十月 2023 09:48:03 +0800
Subject: [PATCH] 历史导入编码最大流水值不正确问题修复

---
 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeRuleController.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeRuleController.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeRuleController.java
index 4483a04..9fc4625 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeRuleController.java
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeRuleController.java
@@ -48,6 +48,7 @@
 import javax.validation.Valid;
 import java.io.UnsupportedEncodingException;
 import java.net.URLDecoder;
+import java.rmi.ServerException;
 import java.util.Collection;
 import java.util.Map;
 
@@ -200,7 +201,7 @@
 	@PostMapping("/clone")
 	@ApiOperationSupport(order = 13)
 	@ApiOperation(value = "鍏嬮殕缂栫爜瑙勫垯", notes = "浼犲叆codeRuleDTO")
-	public R cloneCodeRule(@RequestBody CodeRuleDTO codeRuleDTO){
+	public R cloneCodeRule(@RequestBody CodeRuleDTO codeRuleDTO) throws ServerException {
 		return codeRuleService.cloneCodeRule(codeRuleDTO);
 	}
 
@@ -224,9 +225,8 @@
 	@GetMapping("/checkLikeCodeRule")
 	@ApiOperationSupport(order = 15)
 	@ApiOperation(value = "妫�鏌ョ浉浼肩紪鐮佽鍒�", notes = "浼犲叆oid")
-	public R checkLikeCodeRule(String oid){
+	public R checkLikeCodeRule(@Valid @RequestParam String oid){
 		return codeRuleService.checkLikeCodeRule(oid);
 	}
-
 
 }

--
Gitblit v1.9.3