Commit 6e31a807 authored by 韩桐桐's avatar 韩桐桐

feat(common):字典查询新增根据type匹配

parent 6e7bfe10
...@@ -417,6 +417,13 @@ public class DataDictionaryController extends BaseController { ...@@ -417,6 +417,13 @@ public class DataDictionaryController extends BaseController {
return ResponseHelper.buildResponse(iDataDictionaryService.getChildList(type, group)); return ResponseHelper.buildResponse(iDataDictionaryService.getChildList(type, group));
} }
@TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/getByType")
@ApiOperation(httpMethod = "GET", value = "根据字典类型type查询字典列表", notes = "根据字典类型type查询字典列表")
public ResponseModel<List<DataDictionary>> getByType(@RequestParam(value = "type") String type) {
return ResponseHelper.buildResponse(iDataDictionaryService.getByType(type));
}
@TycloudOperation(needAuth = false, ApiLevel = UserType.AGENCY) @TycloudOperation(needAuth = false, ApiLevel = UserType.AGENCY)
@RequestMapping(value = "/gwmcDataDictionary/byParent", method = RequestMethod.GET) @RequestMapping(value = "/gwmcDataDictionary/byParent", method = RequestMethod.GET)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment