|
@@ -1,6 +1,7 @@
|
|
|
package thyyxxk.webserver.service.zhuyuanyisheng;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
+import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -287,8 +288,6 @@ public class JianYanJianChaShenQingServer {
|
|
|
private ResultVo<String> xinZengShouMingMuBan(YshZdYjTemplate param) {
|
|
|
if (param.getWhFlag().trim().equals("3") && publicServer.noNeedRule(38)) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "您没有权限创建全院模板。");
|
|
|
- } else if (param.getWhFlag().trim().equals("2") && publicServer.noNeedRule(11)) {
|
|
|
- return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "科主任才可以创建科室模板。");
|
|
|
}
|
|
|
param.setCode(publicServer.getYjTemplateNo().toString());
|
|
|
param.setPyCode(PingYinUtils.pyShouZiMuDaXie(param.getName()));
|
|
@@ -306,6 +305,7 @@ public class JianYanJianChaShenQingServer {
|
|
|
* @param laiYuan true 医保 false 本院
|
|
|
* @return 返回搜索的数据
|
|
|
*/
|
|
|
+ @DS("his")
|
|
|
public ResultVo<List<GetDropdownBox>> huoQuLinChuangZhenDuan(String name, Boolean laiYuan) {
|
|
|
return laiYuan ? ResultVoUtil.success(dao.yiBaoZhenDuan(StringUtil.isContainChinese(name))) :
|
|
|
ResultVoUtil.success(dao.benYuanLinChuangZhenDuan(StringUtil.isContainChinese(name)));
|