nnnjjj123
2021-01-14 22515dce96ad77542ce71375004d0c45aee049e8
src/main/java/org/springblade/modules/alarm/mapper/AlarmMapper.xml
@@ -27,6 +27,8 @@
        <result column="serialNumber" property="serialNumber"/>
        <result column="stype" property="stype"/>
        <result column="channelNumber" property="channelNumber"/>
        <result column="czTime" property="czTime"/>
        <result column="bz" property="bz"/>
    </resultMap>
@@ -66,6 +68,8 @@
        a.region,
        a.addvcd,
        a.alarmId,
        a.czTime,
        a.bz,
        a.LEVEL,
        ST_ASTEXT (a.coordinate ) AS coordinate,
        a.jd,
@@ -106,6 +110,8 @@
        a.sex,
        a.phoneNumber,
        a.place,
        a.czTime,
        a.bz,
        a.content,
        a.waringType,
        a.deviceNumber,
@@ -216,6 +222,6 @@
    <update id="updateJtype">
    update sys_alarm SET jtype=1 where id=#{id}
    update sys_alarm SET jtype=1,czTime=#{czTime},bz=#{bz} where id=#{id}
</update>
</mapper>