From e395049f60b14ffbc89c98ad3d6f322d6878e6a7 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 01 十一月 2023 19:31:20 +0800 Subject: [PATCH] bug列表156(主数据数据更改时,数据版本规则未按照规则升版)bug修改,157(数据更改,第二次对数据进行更改时,报错的bug,业务逻辑存在问题) --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeApplyOrgPersonController.java | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeApplyOrgPersonController.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeApplyOrgPersonController.java index 695023c..5b7d4d4 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeApplyOrgPersonController.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeApplyOrgPersonController.java @@ -7,10 +7,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; /** * 鐢宠浜哄憳閮ㄩ棬鎺у埗鍣� @@ -37,7 +34,7 @@ * @throws Throwable */ @PostMapping("/syncDataForPerson") - public ResultOrgData syncDataForPerson(@RequestParam PersonData personData) { + public ResultOrgData syncDataForPerson(@RequestBody PersonData personData) { String result=""; try { return universalInterfaceI.syncDataForPerson(personData); @@ -55,7 +52,7 @@ * @throws Throwable */ @PostMapping("/syncDataForOrg") - public ResultOrgData syncDataForOrg(@RequestParam OrgData orgData) { + public ResultOrgData syncDataForOrg(@RequestBody OrgData orgData) { String result=""; try { return universalInterfaceI.syncDataForOrg(orgData); -- Gitblit v1.9.3