|
@@ -197,15 +197,15 @@ public class LeaderOrgNoController extends BaseController {
|
|
|
@RequestMapping(value = "getService", method = RequestMethod.POST)
|
|
|
public Map<String, Object> getService( @ApiParam(name = "name", value = "名称", required = true) @RequestParam String name) {
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
- /* try {
|
|
|
- List<DictValue> list = DictUtils.getServiceDictList("org_no_service",name);
|
|
|
+ try {
|
|
|
+ List<DictValue> list = DictUtils.getServiceDictList("org_no_service");
|
|
|
result.put("success", true);
|
|
|
result.put("rows", list);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
result.put("success", false);
|
|
|
result.put("rows", Arrays.asList());
|
|
|
- }*/
|
|
|
+ }
|
|
|
return result;
|
|
|
}
|
|
|
|