南昌市物联网技防平台-后台
zengh
2021-11-04 57c72c8438ccb461d5d2f751f710d6908f0e0d32
blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/equipment/mapper/EquipmentMapper.xml
@@ -365,6 +365,11 @@
     where id=#{id}
    </update>
    <update id="updateRW">
    update sys_alarm SET jtype= 1
     where id=#{rwid}
    </update>
    <update id="updataType">
        update sys_equipment SET devicestate = 1 where id in (${arr})
    </update>
@@ -454,7 +459,7 @@
    </update>
    <!--查询设备在线数量-->
    <select id="selectEqCz" resultType="Integer">
        <select id="selectEqCz" resultType="Integer">
        select COUNT(*) from sys_equipment where dtype=1
    </select>