INSERT INTO sys_task (taskname,content,jd,wd,coordinate,tid,address) VALUES (#{taskname},#{content},#{jd},#{wd},POINT(#{jd},#{wd}),#{tid},#{address}) update sys_task SET type=#{type},handlep=#{handlep},handname=#{handname},handletime=#{handletime} where id=#{id}