| | |
| | | public Response searCapChange() { |
| | | return service.searCapChange(); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询所有的站点电压等级") |
| | | @GetMapping("searStationType") |
| | | public Response searStationType() { |
| | | return service.searStationType(); |
| | | } |
| | | } |
| | |
| | | |
| | | //找最大的stationid |
| | | String getMaxStationId(); |
| | | |
| | | //查询所有的站点电压等级 |
| | | List<String> searStationType(); |
| | | } |
| | |
| | | public List<StationInf> getStationInfList(int userId) { |
| | | return mapper.getStationInfList(userId); |
| | | } |
| | | |
| | | //查询所有的站点电压等级 |
| | | public Response searStationType() { |
| | | List<String> list = mapper.searStationType(); |
| | | return new Response().setII(1, list.size() > 0 ? true : false, list, "查询所有的站点电压等级"); |
| | | } |
| | | } |
| | |
| | | select max(cast(stationid as SIGNED)) |
| | | from db_battinf.tb_station_inf |
| | | </select> |
| | | <select id="searStationType" resultType="java.lang.String"> |
| | | select distinct StationType |
| | | from db_battinf.tb_station_inf |
| | | where StationType!='' |
| | | </select> |
| | | </mapper> |