| | |
| | | </where> |
| | | limit 1 |
| | | </select> |
| | | <select id="getBattgroupIdList" resultType="java.lang.Integer"> |
| | | <select id="getBattgroupIdListByPowerId" resultType="java.lang.Integer"> |
| | | select distinct tb_batt_inf.battgroup_id |
| | | from db_station.tb_batt_inf |
| | | <where> |
| | |
| | | </where> |
| | | order by battgroup_num asc |
| | | </select> |
| | | <select id="getBattgroupIdListByDevId" resultType="java.lang.Integer"> |
| | | select distinct tb_batt_inf.battgroup_id |
| | | from db_station.tb_batt_inf |
| | | <where> |
| | | tb_batt_inf.dev_id=#{devId} |
| | | </where> |
| | | order by battgroup_num asc |
| | | </select> |
| | | </mapper> |