新版配置项功能
新增修改配置項:http://localhost:8080/vaccinate/a/conf/sysConfTpls/list/
?
獲取用戶配置信息:
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()
轉載于:https://www.cnblogs.com/banxian-yi/p/10772451.html
總結
 
                            
                        - 上一篇: .Net 程序集 签名工具sn.exe
- 下一篇: 第九周作业及总结
