dashboard
repositories
filestore
activity
search
login
main
/
jfptManager
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
1.统计接口 2.健康码
nnnjjj123
2021-01-28
71b6b716361c52af290493d365a328fc1a3467e2
[jfptManager.git]
/
src
/
main
/
java
/
org
/
springblade
/
modules
/
xlfeedback
/
mapper
/
XlfeedbackMapper.xml
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>