src/main/resources/mapper/DevalarmDataMapper.xml
@@ -392,4 +392,9 @@ and db_user.tb_user_inf.uid=db_user.tb_user_battgroup_baojigroup_usr.uid and db_user.tb_user_inf.uid=#{userId} ) </select> <select id="judgeCommErr" resultType="java.lang.Integer"> select count(*) from db_alarm.tb_devalarm_data ,db_battinf.tb_battinf WHERE tb_devalarm_data.dev_id=tb_battinf.FBSDeviceId and alm_type=#{almType} and tb_battinf.stationid=#{stationId} </select> </mapper>