nnnjjj123
2021-01-06 3b67e70f41bac39d1d74d2039a2fb286a32a8d41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.xlfeedback.mapper.XlfeedbackMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="xlfeedbackResultMap" type="org.springblade.modules.xlfeedback.entity.Xlfeedback">
        <id column="id" property="id"/>
        <result column="snumber" property="snumber"/>
        <result column="rid" property="rid"/>
        <result column="regionId" property="regionId"/>
        <result column="tp" property="tp"/>
        <result column="bz" property="bz"/>
        <result column="time" property="time"/>
        <result column="jd" property="jd"/>
        <result column="wd" property="wd"/>
        <result column="coordinate" property="coordinate"/>
    </resultMap>
 
 
    <select id="selectXlfeedbackPage" resultMap="xlfeedbackResultMap">
        select * from act_xlfeedback where is_deleted = 0
    </select>
 
 
    <!--新增-->
    <insert id="s" parameterType="org.springblade.modules.xlfeedback.entity.Xlfeedback">
       INSERT INTO act_xlfeedback (snumber,rid,regionId,tp,bz,time,stime,jd,wd,coordinate) VALUES (#{snumber},#{rid},#{regionId},#{tp},#{bz},#{time},#{jd},#{wd},POINT(#{jd},#{wd}))
    </insert>
 
</mapper>