|
@@ -20,6 +20,8 @@ import org.jeecg.common.system.vo.DictQuery;
|
|
|
import org.jeecg.common.system.vo.LoginUser;
|
|
import org.jeecg.common.system.vo.LoginUser;
|
|
|
import org.jeecg.common.util.*;
|
|
import org.jeecg.common.util.*;
|
|
|
import org.jeecg.config.mybatis.MybatisPlusSaasConfig;
|
|
import org.jeecg.config.mybatis.MybatisPlusSaasConfig;
|
|
|
|
|
+import org.jeecg.modules.medical.ruleengine.FactorEnchangeFactory;
|
|
|
|
|
+import org.jeecg.modules.medical.ruleengine.RuleEngine;
|
|
|
import org.jeecg.modules.medical.ruleengine.projectcache.HisMedicalProjectCache;
|
|
import org.jeecg.modules.medical.ruleengine.projectcache.HisMedicalProjectCache;
|
|
|
import org.jeecg.modules.system.entity.SysDict;
|
|
import org.jeecg.modules.system.entity.SysDict;
|
|
|
import org.jeecg.modules.system.entity.SysDictItem;
|
|
import org.jeecg.modules.system.entity.SysDictItem;
|
|
@@ -74,6 +76,10 @@ public class SysDictController {
|
|
|
private RedisUtil redisUtil;
|
|
private RedisUtil redisUtil;
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private HisMedicalProjectCache hisMedicalProjectCache;
|
|
private HisMedicalProjectCache hisMedicalProjectCache;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private RuleEngine ruleEngine;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private FactorEnchangeFactory factorEnchangeFactory;
|
|
|
|
|
|
|
|
@RequestMapping(value = "/list", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/list", method = RequestMethod.GET)
|
|
|
public Result<IPage<SysDict>> queryPageList(SysDict sysDict,@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
public Result<IPage<SysDict>> queryPageList(SysDict sysDict,@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
@@ -495,6 +501,8 @@ public class SysDictController {
|
|
|
public Result<?> refleshHisCache() {
|
|
public Result<?> refleshHisCache() {
|
|
|
Result<?> result = new Result<SysDict>();
|
|
Result<?> result = new Result<SysDict>();
|
|
|
hisMedicalProjectCache.initHisMedicalProjectCache();
|
|
hisMedicalProjectCache.initHisMedicalProjectCache();
|
|
|
|
|
+ ruleEngine.initMedicalInsRule();
|
|
|
|
|
+ factorEnchangeFactory.init();
|
|
|
return result;
|
|
return result;
|
|
|
}
|
|
}
|
|
|
|
|
|