|
@@ -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()){
|