新增修改配置项:http://localhost:8080/vaccinate/a/conf/sysConfTpls/list/

 

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

获取用户配置信息:

Map<String, String> conf = sysConfService.getUserConf(UserUtils.getUser().getId());

 

UserUtils.getUser()是系统登陆者的一些基本信息

 

获取门诊配置信息:

 

Map<String, String> conf = sysConfService.getOfficeConf(localcode);

前端:officeConf    userConf

    <c:when test="${officeConf.newVersion == '1'}">

        <c:set var="regPath" value="${ctx}/childVacc/console?childcode="/>

        <c:set var="inocPath" value="${ctx}/queue/console"/>

</c:when>

${officeConf.vaccinate_print_show}

localcode可以使用前台参数传过来。没有的话就获取当前登陆账号的站点编码:OfficeService.getFirstOfficeCode()

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄