zengh
2021-01-13 b5bc0b851586c8ac4c74602a173fa5c141ef1353
src/main/java/org/springblade/modules/equipment/mapper/EquipmentMapper.xml
@@ -135,6 +135,14 @@
    ownership=#{ownership},ownerId=#{yname},devicestate=#{devicestate},stime=#{stime},
    coordinate=POINT(#{jd},#{wd}),parent_id=#{parentId},jd=#{jd},wd=#{wd},addvcd=#{addvnm},street=#{streeName},dtype=#{dtype} where id=#{id}
</update>
    <update id="updataType">
        update sys_equipment SET devicestate = 1 where id in (#{arr})
    </update>
    <update id="updataTypeC">
        update sys_equipment SET devicestate = 0 where id in (#{arr})
    </update>
    <update id="updateOnes" parameterType="org.springblade.modules.equipment.entity.Equipment">
    update sys_equipment SET deviceName=#{deviceName},deviceNumber=#{deviceNumber},deviceType=#{deviceType},