| | |
| | | List<Map<String, Object>> scopeList = tCompanyService.getCompanyScopeById(tCompanyId); |
| | | model.addAttribute("scopeList",scopeList); |
| | | |
| | | //计费规则 |
| | | TSystemPrice tSystemPrice = systemPriceService.selectOne(new EntityWrapper<TSystemPrice>().eq("companyId", tCompanyId) |
| | | .eq("type", 2).last("LIMIT 1")); |
| | | model.addAttribute("contentExclusive",JSONObject.parseObject(tSystemPrice.getContent())); |
| | | |
| | | return PREFIX + "tCompany_detail.html"; |
| | | } |
| | | |
| | |
| | | //经营区域 |
| | | List<Map<String, Object>> scopeList = tCompanyService.getCompanyScopeById(tCompanyId); |
| | | model.addAttribute("scopeList",scopeList); |
| | | //计费规则 |
| | | TSystemPrice tSystemPrice = systemPriceService.selectOne(new EntityWrapper<TSystemPrice>().eq("companyId", tCompanyId) |
| | | .eq("type", 2).last("LIMIT 1")); |
| | | model.addAttribute("contentExclusive",JSONObject.parseObject(tSystemPrice.getContent())); |
| | | return PREFIX + "tCompany_edit.html"; |
| | | } |
| | | |
| | |
| | | //系统用户对象 |
| | | User user = userService.selectOne(new EntityWrapper<User>().eq("roleType", 3).eq("objectId", tCompanyId)); |
| | | model.addAttribute("user",user); |
| | | //计费规则 |
| | | TSystemPrice tSystemPrice = systemPriceService.selectOne(new EntityWrapper<TSystemPrice>().eq("companyId", tCompanyId) |
| | | .eq("type", 2).last("LIMIT 1")); |
| | | model.addAttribute("contentExclusive",JSONObject.parseObject(tSystemPrice.getContent())); |
| | | return PREFIX + "tCompany_detailFranchisee.html"; |
| | | } |
| | | |
| | |
| | | User user = userService.selectOne(new EntityWrapper<User>().eq("roleType", 3).eq("objectId", tCompanyId)); |
| | | model.addAttribute("user",user); |
| | | |
| | | //计费规则 |
| | | TSystemPrice tSystemPrice = systemPriceService.selectOne(new EntityWrapper<TSystemPrice>().eq("companyId", tCompanyId) |
| | | .eq("type", 2).last("LIMIT 1")); |
| | | model.addAttribute("contentExclusive",JSONObject.parseObject(tSystemPrice.getContent())); |
| | | |
| | | return PREFIX + "tCompany_updateFranchisee.html"; |
| | | } |
| | | |