| | |
| | | import com.hx.exception.TipsException; |
| | | import com.hx.mybatisTool.SqlSentence; |
| | | import com.hx.phiappt.common.OperatorConstants; |
| | | import com.hx.phiappt.common.RoleType; |
| | | import com.hx.phiappt.constants.tool.user.UserTool; |
| | | import com.hx.phiappt.dao.mapper.*; |
| | | import com.hx.phiappt.model.*; |
| | |
| | | @RequestMapping("/shop/list") |
| | | public Result shopList(){ |
| | | SqlSentence sqlSentence = new SqlSentence(); |
| | | sqlSentence.setSqlSentence(" select id, name, workTime from shop where isDel = 0 and isUp = 1 "); |
| | | sqlSentence.setSqlSentence(" select id, name, workTime, province, city, area, addr from shop where isDel = 0 and isUp = 1 "); |
| | | List<Map<String, Object>> list = commonService.selectListMap(ShopMapper.class, sqlSentence); |
| | | Map<String, Object> data = new HashMap<>(); |
| | | data.put("list", list); |
| | |
| | | Map<String, Object> values = new HashMap<>(); |
| | | sqlSentence.setM(values); |
| | | values.put("shopId", dto.getShopId()); |
| | | values.put("roleUniqueStr", RoleType.UNIQUE_STR_DOCTOR); |
| | | StringBuilder sql = new StringBuilder(); |
| | | |
| | | //查询门店下的医生员工 |