南昌市物联网技防平台-后台
zengh
2021-03-19 9d6f5ab26f707ccdd5b5ffcdb4af6925a0f5bd57
blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/alarm/mapper/AlarmMapper.xml
@@ -36,7 +36,7 @@
    <select id="selectAlarmPage" resultMap="alarmResultMap">
        select
        a.id,a.alarmType,a.alarmPeople,a.alarmTime,a.galarmPeople,a.sex,a.phoneNumber,a.place,a.content,a.waringType,
        a.id,a.alarmType,a.alarmPeople,a.alarmTime,a.galarmPeople,a.sex,a.phoneNumber,a.place,a.content,a.waringType,a.bz,
        a.deviceNumber,a.region,a.district,
        a.alarmId,a.LEVEL,e.jd,e.wd,a.jtype,a.rname,a.jjTime,a.province,a.city,a.cid,
        e.serialNumber,e.oneContacts,e.ThreeContacts,e.twoContacts,e.onePhone,e.twoPhone,e.ThreePhone,
@@ -277,7 +277,11 @@
    <update id="updateJtype">
        update sys_alarm SET jtype=1,czTime=#{czTime},bz=#{bz} where id=#{id}
        update sys_alarm SET jtype=#{jtype},bz=#{bz} where id=#{id}
    </update>
    <update id="updatePoliceStatus">selectAlarmPage
        update jfpth.blade_user SET work_status=#{status} where id=#{id}
    </update>
    <!--查询当天警情总数-->