|
@@ -64,4 +64,24 @@ public class CacheController {
|
|
cacheFacade.clearStandConvert();
|
|
cacheFacade.clearStandConvert();
|
|
return RespDTO.onSuc(true);
|
|
return RespDTO.onSuc(true);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "清除规则缓存[by:wangfeng]",
|
|
|
|
+ notes = "")
|
|
|
|
+ @PostMapping("/clearRuleInfoAll")
|
|
|
|
+ @SysLogger("clearRuleInfoAll")
|
|
|
|
+ public RespDTO<Boolean> clearRuleInfoAlls() {
|
|
|
|
+ cacheFacade.loadAllRuleCache();
|
|
|
|
+ return RespDTO.onSuc(true);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "重新加载标准词及规则、药物缓存[by:wangfeng]",
|
|
|
|
+ notes = "")
|
|
|
|
+ @PostMapping("/clearStandRuleDrug")
|
|
|
|
+ @SysLogger("clearStandRuleDrug")
|
|
|
|
+ public RespDTO<Boolean> clearStandRuleDrugAll() {
|
|
|
|
+ cacheFacade.clearStandConvert();
|
|
|
|
+ cacheFacade.loadAllRuleCache();
|
|
|
|
+ cacheFacade.loadDrugTypeCache();
|
|
|
|
+ return RespDTO.onSuc(true);
|
|
|
|
+ }
|
|
}
|
|
}
|