whycxzp
2025-05-27 22c2a663c059ac237b4dca14a126a9a65145ec96
src/main/resources/mapper/BattTestInfMapper.xml
@@ -57,6 +57,9 @@
        select
        binf_name as battGroupName,batt_test_inf.binf_id as battGroupId,mon_cap,mon_vol,test_record_count,group_vol,test_curr,max_monvol,min_monvol,test_cap,test_starttime,record_time,test_timelong,test_stoptype
        from db_dis_batt.batt_test_inf,db_batt.power_inf where db_batt.power_inf.binf_id=db_dis_batt.batt_test_inf.binf_id
        <if test="battGroupId!=null">
            and db_dis_batt.batt_test_inf.binf_id=#{battGroupId}
        </if>
        and test_type=3
        and test_timelong > 1800
        ORDER BY db_dis_batt.batt_test_inf.test_starttime desc