| | |
| | | </delete> |
| | | |
| | | <!--新增--> |
| | | <insert id="s" parameterType="org.springblade.jfpt.alarm.entity.Alarm"> |
| | | INSERT INTO sys_alarm (alarmType,alarmPeople,alarmTime,galarmPeople,sex,phoneNumber,place,content,waringType,deviceNumber, |
| | | <insert id="s" parameterType="org.springblade.jfpt.alarm.entity.Alarm" useGeneratedKeys="true" keyProperty="id"> |
| | | INSERT INTO sys_alarm (alarmType,jjTime,alarmPeople,alarmTime,galarmPeople,sex,phoneNumber,place,content,waringType,deviceNumber, |
| | | region,district,alarmId,level,rname,coordinate,jd,wd,jtype,province,city,cid) VALUES |
| | | (#{alarmType},#{alarmPeople},#{alarmTime},#{galarmPeople},#{sex},#{phoneNumber},#{place},#{content},#{waringType}, |
| | | (#{alarmType},#{jjTime},#{alarmPeople},#{alarmTime},#{galarmPeople},#{sex},#{phoneNumber},#{place},#{content},#{waringType}, |
| | | #{deviceNumber},#{region},#{district},#{alarmId},#{level},#{rname},POINT(#{jd},#{wd}), |
| | | #{jd},#{wd},#{jtype},#{province},#{city},#{cid}) |
| | | </insert> |
| | |
| | | |
| | | |
| | | <update id="updateJtype"> |
| | | update sys_alarm SET jtype=#{jtype},bz=#{bz},jjTime=#{jjtime} where id=#{id} |
| | | update sys_alarm SET jtype=#{jtype},bz=#{bz} where id=#{id} |
| | | </update> |
| | | |
| | | <update id="updatePoliceStatus"> |
| | |
| | | LIMIT 1 |
| | | |
| | | </select> |
| | | |
| | | <select id="queryBa" resultType="java.util.HashMap"> |
| | | SELECT * FROM jfpth.blade_user WHERE is_deleted != '1' and role_id ="1370562810882502657" |
| | | </select> |
| | | </mapper> |