|
|
|
@ -1381,7 +1381,10 @@ public class QcController { |
|
|
|
@PostMapping("/queryController") |
|
|
|
public R queryController(@RequestBody SysSceneDynamicControlModelEntity data){ |
|
|
|
List<SysSceneDynamicControlModelEntity> list = qcService.queryController(data); |
|
|
|
return R.ok().put("rows", list.get(0)); |
|
|
|
if (!list.isEmpty()){ |
|
|
|
return R.ok().put("rows", list.get(0)); |
|
|
|
} |
|
|
|
return R.ok().put("rows", null); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|