|
@@ -60,9 +60,9 @@ public class EntityController {
|
|
|
notes = "")
|
|
|
@RequestMapping(value = "/findEntityListByName",method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
- public RespDTO<List<Map<String, Object>>> findEntityListByName(@RequestBody String label, @RequestBody String name) {
|
|
|
+ public RespDTO<List<Map<String, Object>>> findEntityListByName(@RequestBody CreateEntityVO entity) {
|
|
|
|
|
|
- List<Map<String, Object>> list = entityService.findEntityListByName(label, name);
|
|
|
+ List<Map<String, Object>> list = entityService.findEntityListByName(entity.getLabel(), entity.getName());
|
|
|
return RespDTO.onSuc(list);
|
|
|
}
|
|
|
|