南昌市物联网技防平台-后台
xiebin
2023-01-16 df9293f77927ee7a5ec4389a1143c6653c64aa66
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>