| | |
| | | |
| | | |
| | | |
| | | @PostMapping("/selectList") |
| | | public R selectList(String type) { |
| | | List<Map<String, Object>> list = tenantService.selectList(type); |
| | | @PostMapping("/selectListTe") |
| | | public R selectListTe(String type) { |
| | | List<Map<String, Object>> list = tenantService.selectListTe(type); |
| | | for (int i=0;i<list.size();i++){ |
| | | //医院 |
| | | if (list.get(i).get("type").equals("0")){ |
| | |
| | | * @return |
| | | */ |
| | | List<Tenant> selectTenantPage(IPage page, Tenant tenant); |
| | | List<Map<String, Object>> selectList(String type); |
| | | List<Map<String, Object>> selectListTe(String type); |
| | | int inserts(String dj, String had, String ht, String ctime,String content,String hn); |
| | | void updateInfoy(String dj, String had, String ht, String ctime,String content,String hn); |
| | | List<Map<String, Object>> selectTy(String hn); |
| | |
| | | </select> |
| | | |
| | | |
| | | <delete id="deletey"> |
| | | <delete id="deletey">select |
| | | delete from jfpt.sys_hospital where hn = #{hn} |
| | | </delete> |
| | | <delete id="deletes"> |
| | |
| | | </delete> |
| | | |
| | | |
| | | <select id="selectList" resultType="java.util.HashMap"> |
| | | <select id="selectListTe" resultType="java.util.HashMap"> |
| | | select * from blade_tenant where is_deleted = 0 and tenant_id!=000000 |
| | | <if test="type!=null and type!=''"> |
| | | and tenant.type=#{tenant.type} |
| | |
| | | void deletey(String hn); |
| | | void deletes(String hn); |
| | | void deleter(String hn); |
| | | List<Map<String, Object>> selectList(String type); |
| | | List<Map<String, Object>> selectListTe(String type); |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> selectList(String type) { |
| | | return baseMapper.selectList(type); |
| | | public List<Map<String, Object>> selectListTe(String type) { |
| | | return baseMapper.selectListTe(type); |
| | | } |
| | | |
| | | private String getTenantId(List<String> codes) { |