Browse Source

****************************************提交分类************************************

weixinVSjinlai 4 years ago
parent
commit
1a4e74a7cf

+ 3 - 3
datasyn/src/main/kotlin/com/persagy/server/syn/controllers/TestController.kt

@@ -88,10 +88,10 @@ class TestController {
      */
     @Operation(summary = "造对照表数据", description = "",tags = ["001"])
     @GetMapping(value = ["/test/analog/data"])
-    fun analogData(@RequestParam groupCode: String, @RequestBody type: Types): SBaseResponse{
-        logger.debug("数据= ${types.toJson()}")
+    fun analogData(@RequestParam groupCode: String, @RequestBody obj: Types): SBaseResponse{
+        logger.debug("数据= ${obj.toJson()}")
         try {
-            for (type in types.types!!) {
+            for (type in obj.types!!) {
                 val defFuncIdList = defFuncIdService.select(SFilter.eq("classCode", type), SFilter.eq("projectId", "Pj4403070003")).exec()
                 for (defFuncId in defFuncIdList){
                     if (!defFuncId.firstName.isNullOrEmpty()){