From a2eeba84bed5de1c19b74279ee7f096b5eff5528 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 13 九月 2023 11:50:00 +0800
Subject: [PATCH] 1、加载分类的时候提示没有编码规则错误,同时处理由此导致的RMDataTransmitObject未初始化保存问题,在创建bean时就进行了初始化。

---
 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