diff --git a/src/main/resources/mapper/BuildingRecordsMapper.xml b/src/main/resources/mapper/BuildingRecordsMapper.xml
index 5f0c787..43412da 100644
--- a/src/main/resources/mapper/BuildingRecordsMapper.xml
+++ b/src/main/resources/mapper/BuildingRecordsMapper.xml
@@ -3,11 +3,11 @@
- insert into t_building_records
+ INSERT INTO t_building_records
(
project_name,build_license,push_time,appid,pm10,noice
)
- values
+ VALUES
(
#{item.projectName},#{item.buildLicense},#{item.pushTime},#{item.appid},
@@ -18,7 +18,7 @@
- update t_building_records
+ UPDATE t_building_records
project_name = #{item.projectName},
push_time = #{item.pushTime},
@@ -26,13 +26,13 @@
pm10 = #{item.pm10},
noice = #{item.noice}
- where build_license = #{item.buildLicense}
+ WHERE build_license = #{item.buildLicense}
@@ -41,7 +41,7 @@
SELECT a.* FROM
(SELECT br.noice,br.push_time,br.project_name,bs.jd,bs.wd,bs.channel_name,bs.sgwz,bs.ssdq FROM
t_building_records br JOIN t_building_new_site bs ON br.project_name = bs.gdmc
- WHERE (hour(br.push_time)>=22 or 6 > hour(br.push_time)) AND br.noice > 55
+ WHERE (HOUR(br.push_time)>=22 OR 6 > HOUR(br.push_time)) AND br.noice > 55
UNION
SELECT br.noice,br.push_time,br.project_name,bs.jd,bs.wd,bs.channel_name,bs.sgwz,bs.ssdq FROM
t_building_records br JOIN t_building_new_site bs ON br.project_name = bs.gdmc
@@ -51,7 +51,7 @@
diff --git a/src/main/resources/mapper/CameraChannelMapper.xml b/src/main/resources/mapper/CameraChannelMapper.xml
index 09a880a..ed4a477 100644
--- a/src/main/resources/mapper/CameraChannelMapper.xml
+++ b/src/main/resources/mapper/CameraChannelMapper.xml
@@ -3,22 +3,22 @@
- update t_camera_channel set check_status = 0
- where channel_code = #{item,jdbcType=VARCHAR}
+ UPDATE t_camera_channel SET check_status = 0
+ WHERE channel_code = #{item,jdbcType=VARCHAR}
diff --git a/src/main/resources/mapper/EventMapper.xml b/src/main/resources/mapper/EventMapper.xml
index 72c58ff..ee7fc65 100644
--- a/src/main/resources/mapper/EventMapper.xml
+++ b/src/main/resources/mapper/EventMapper.xml
@@ -2,7 +2,7 @@
\ No newline at end of file
diff --git a/src/main/resources/mapper/RoadDataMapper.xml b/src/main/resources/mapper/RoadDataMapper.xml
index fb58716..112086d 100644
--- a/src/main/resources/mapper/RoadDataMapper.xml
+++ b/src/main/resources/mapper/RoadDataMapper.xml
@@ -17,13 +17,13 @@
\ No newline at end of file
diff --git a/src/main/resources/mapper/SanitationMapper.xml b/src/main/resources/mapper/SanitationMapper.xml
index 08b4945..a96d808 100644
--- a/src/main/resources/mapper/SanitationMapper.xml
+++ b/src/main/resources/mapper/SanitationMapper.xml
@@ -2,13 +2,13 @@
- insert into t_sanitation_road
+ INSERT INTO t_sanitation_road
(bh,dlmc,qdlkdlmc,zdlkdlmc,zcgdlxzc,bjdj,dlzd,dlkd,dlzmj,cxdmj,rxdmj,jsmj,ssmj,
gycxmj,bjysl,gpxsl,ssqybh,ssjdbsc,sshwgsbh,zbjh,sfqy,bh1,dtdlhzkd,
zcgd,jsqz,cxqz,jj,tplj,zbdfxbz0zx1fx,fxzbxxid,ys,btmx,jsts,jspc,
sfjs0bjs1js,sfss0bss1ss,sfcx0bcx1cx,sspc,cxpc,ssts,cxts,sfkh,updatetime
)
- values
+ VALUES
(
#{item.BH},#{item.DLMC},#{item.QDLKDLMC},#{item.ZDLKDLMC},#{item.ZCGDLXZC},#{item.BJDJ},#{item.DLZD},
@@ -23,11 +23,11 @@
- insert into t_sanitation_task
+ INSERT INTO t_sanitation_task
(dlmc,ksdl,zzdl,ssqs,cph,zywcl,zyrq,zylx,zysj,zyts,zypc,zyzd,
zykd,zymj,wzyds,zycsds,zygpsds,updatetime
)
- values
+ VALUES
(
#{item.DLMC},#{item.KSDL},#{item.ZZDL},#{item.SSQS},#{item.CPH},#{item.ZYWCL},