zengh
2021-01-14 9042d334589612bb089fa1df3621b304be690a6c
src/main/java/org/springblade/modules/equipment/mapper/EquipmentMapper.xml
@@ -95,7 +95,7 @@
    <select id="lazyList" resultMap="deptVOResultMap">
        SELECT dept.id,dept.deviceName,dept.deviceNumber,dept.deviceType,dept.ownership,
        dept.ownerId,dept.devicestate,dept.stime,
        ST_ASTEXT(dept.coordinate) as coordinate,dept.dtype,
        ST_ASTEXT(dept.coordinate) as coordinate,dept.dtype,dept.serialNumber,dept.stype,dept.channelNumber,dept.pay,dept.expireTime,dept.heartbeat,
        dept.parent_id,FORMAT(dept.jd,6) as jd,FORMAT(dept.wd,6) as wd,dept.street as
        streeName,u.yname,d.addvnm,dept.addvcd,
        (
@@ -137,11 +137,11 @@
    </update>
    <update id="updataType">
        update sys_equipment SET devicestate = 1 where id in (#{arr})
        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 sys_equipment SET devicestate = 0 where id in (${arr})
    </update>
    <update id="updateOnes" parameterType="org.springblade.modules.equipment.entity.Equipment">