whyclxw
5 天以前 bae185d2ff22c2537adc298cac905c9f5394d3c5
src/main/resources/mapper/BattInfMapper.xml
@@ -476,7 +476,7 @@
        </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>
@@ -484,4 +484,12 @@
        </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>