|
@ -27,7 +27,7 @@ public class ZyDictController extends BaseController {
|
|
|
@ApiParam(name = "dictName", value = "字典名称", defaultValue = "")
|
|
|
@RequestParam(value = "dictName", required = true) String dictName) {
|
|
|
try {
|
|
|
zyDictService.synchronousDict(dictName);
|
|
|
zyDictDataService.dictByDictName(dictName);
|
|
|
return write(200, "同步智业字典!");
|
|
|
} catch (Exception e) {
|
|
|
return invalidUserException(e, -1, "获取门/急诊数据失败!");
|