备件电池接口更新;searchStationName1InGroup更新
| | |
| | | |
| | | /** |
| | | * searchStationName1InGroup 蓄电池组后评估、电池组统计分析查询、电池组单体统计分析查询 等菜单功能使用接口 |
| | | * @param userInf |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/searchStationName1InGroup") |
| | | @ApiOperation(value = "放电测试(查询用户管理的维护区)") |
| | | public Response<List<String>> searchStationName1InGroup(@RequestBody UserInf userInf){ |
| | | |
| | | return service.searchStationName1InGroup(userInf); |
| | | public Response<List<String>> searchStationName1InGroup(){ |
| | | UserInf userInf = ActionUtil.getUser(); |
| | | return service.searchStationName1InGroup(userInf.getUId().intValue()); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | int updateByPrimaryKey(BaojiGroupBattGroup record); |
| | | |
| | | List<String> searchStationName1InGroup(UserInf userInf); |
| | | List<String> searchStationName1InGroup(int uId); |
| | | |
| | | List<Battinf> searchStationByStationName1(String stationName1,int userId); |
| | | |
| | |
| | | @Resource |
| | | private BattInfMapper battInfMapper; |
| | | |
| | | public Response<List<String>> searchStationName1InGroup(UserInf userInf) { |
| | | public Response<List<String>> searchStationName1InGroup(int userId) { |
| | | |
| | | List<String> list = mapper.searchStationName1InGroup(userInf); |
| | | List<String> list = mapper.searchStationName1InGroup(userId); |
| | | |
| | | return new Response<List<String>>().set(1, list); |
| | | } |
| | |
| | | from tb_user_battgroup_baojigroup_battgroup |
| | | where num = #{num,jdbcType=BIGINT} |
| | | </select> |
| | | <select id="searchStationName1InGroup" parameterType="com.whyc.pojo.UserInf" resultType="java.lang.String"> |
| | | <select id="searchStationName1InGroup" resultType="java.lang.String"> |
| | | select distinct db_battinf.tb_battinf.stationname1 from db_battinf.tb_battinf left outer join |
| | | db_user.tb_user_battgroup_baojigroup_battgroup on |
| | | db_user.tb_user_battgroup_baojigroup_battgroup.stationid=db_battinf.tb_battinf.stationid left outer join |