| | |
| | | </if> |
| | | </select> |
| | | |
| | | <!-- <insert id="insert"> |
| | | insert into sys_jingdan(galarmPeople,phoneNumber,place,content,galarmTime,waringType,deviceNumber,type, |
| | | handleP,handleTime,handName,level,coordinate,jd,wd,addvcd) |
| | | values (#{galarmPeople},#{phoneNumber},#{place},#{content},#{galarmTime} |
| | | ,#{waringType},#{deviceNumber},#{type},#{handleP},#{handleTime}, |
| | | #{handName},#{level},POINT(#{jd},#{wd}),#{jd},#{wd},#{addvcd}) |
| | | </insert>--> |
| | | <!-- <insert id="insert">--> |
| | | <!-- insert into sys_jingdan(galarmPeople,phoneNumber,place,content,galarmTime,waringType,deviceNumber,type,--> |
| | | <!-- handleP,handleTime,handName,level,coordinate,jd,wd,addvcd)--> |
| | | <!-- values (#{galarmPeople},#{phoneNumber},#{place},#{content},#{galarmTime}--> |
| | | <!-- ,#{waringType},#{deviceNumber},#{type},#{handleP},#{handleTime},--> |
| | | <!-- #{handName},#{level},POINT(#{jd},#{wd}),#{jd},#{wd},#{addvcd})--> |
| | | <!-- </insert>--> |
| | | |
| | | |
| | | <sql id="key"> |
| | |
| | | <if test="level!=null and level!=''"> |
| | | #{level}, |
| | | </if> |
| | | <if test="coordinate=null and coordinate=''"> |
| | | coordinate, |
| | | </if> |
| | | <if test="jd!=null and wd!=null"> |
| | | POINT(#{jd},#{wd}), |
| | | </if> |