From 284f2e45eef629bb26d65f9b0f6b216096f39f0f Mon Sep 17 00:00:00 2001 From: liuguijing <123456> Date: Wed, 6 Mar 2024 09:40:46 +0800 Subject: [PATCH] =?UTF-8?q?I2=E6=96=B0=E5=A2=9E=E6=9F=A5=E8=AF=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=92=8C=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/shxy/i2/dao/Data_Byq_JbfdDao.java | 12 -- .../java/com/shxy/i2/dao/Data_CnjDao.java | 7 - .../java/com/shxy/i2/dao/Data_DcywDao.java | 7 - .../com/shxy/i2/dao/Data_Dlq_JbfdDao.java | 10 -- .../java/com/shxy/i2/dao/Data_Dr_JyjcDao.java | 7 - .../java/com/shxy/i2/dao/Data_FhdlbxDao.java | 7 - .../java/com/shxy/i2/dao/Data_FhzxqDao.java | 7 - .../com/shxy/i2/dao/Data_Jsyhw_JyjcDao.java | 7 - .../com/shxy/i2/dao/Data_MicroclimateDao.java | 6 - .../com/shxy/i2/dao/Data_SF6_QtsfDao.java | 7 - .../com/shxy/i2/dao/Data_SF6_QtylDao.java | 7 - src/main/java/com/shxy/i2/dao/Data_TxDao.java | 7 - src/main/java/com/shxy/i2/dao/Data_WsDao.java | 7 - .../java/com/shxy/i2/dao/Data_YspDao.java | 12 -- .../resources/mappers/Data_Byq_JbfdDao.xml | 114 ----------------- src/main/resources/mappers/Data_CnjDao.xml | 64 ---------- src/main/resources/mappers/Data_DcywDao.xml | 64 ---------- .../resources/mappers/Data_Dlq_JbfdDao.xml | 120 ------------------ .../resources/mappers/Data_Dr_JyjcDao.xml | 60 --------- src/main/resources/mappers/Data_FhdlbxDao.xml | 61 --------- .../resources/mappers/Data_Jsyhw_JyjcDao.xml | 64 ---------- .../mappers/Data_MicroclimateDao.xml | 59 --------- .../resources/mappers/Data_SF6_QtsfDao.xml | 58 --------- .../resources/mappers/Data_SF6_QtylDao.xml | 70 ---------- src/main/resources/mappers/Data_TxDao.xml | 65 ---------- src/main/resources/mappers/Data_WsDao.xml | 58 --------- src/main/resources/mappers/Data_YspDao.xml | 117 ----------------- src/main/resources/mappers/data_FhzxqDao.xml | 65 ---------- 28 files changed, 1149 deletions(-) diff --git a/src/main/java/com/shxy/i2/dao/Data_Byq_JbfdDao.java b/src/main/java/com/shxy/i2/dao/Data_Byq_JbfdDao.java index a21a24d..fbf3891 100644 --- a/src/main/java/com/shxy/i2/dao/Data_Byq_JbfdDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_Byq_JbfdDao.java @@ -13,20 +13,8 @@ public interface Data_Byq_JbfdDao { List selectUploadById(@Param("maxid") BigInteger maxid); - List selectUpload(@Param("isupload") Integer isupload); - Data_Byq_Jbfd selectMaxId(); Data_Byq_Jbfd selectNowId(@Param("date") Date date); - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateDataList(@Param("isupload") Integer isupload, @Param("idlist") ArrayList id, @Param("updateTime") Date updateTime); - - int updateDataList2(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") ArrayList id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); - } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_CnjDao.java b/src/main/java/com/shxy/i2/dao/Data_CnjDao.java index 46e015f..29451ec 100644 --- a/src/main/java/com/shxy/i2/dao/Data_CnjDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_CnjDao.java @@ -16,12 +16,5 @@ public interface Data_CnjDao { Data_Cnj selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_DcywDao.java b/src/main/java/com/shxy/i2/dao/Data_DcywDao.java index 02ea35d..2053877 100644 --- a/src/main/java/com/shxy/i2/dao/Data_DcywDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_DcywDao.java @@ -16,12 +16,5 @@ public interface Data_DcywDao { Data_Dcyw selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_Dlq_JbfdDao.java b/src/main/java/com/shxy/i2/dao/Data_Dlq_JbfdDao.java index 0530aa1..d742515 100644 --- a/src/main/java/com/shxy/i2/dao/Data_Dlq_JbfdDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_Dlq_JbfdDao.java @@ -12,7 +12,6 @@ import java.util.List; public interface Data_Dlq_JbfdDao { - List selectUpload(@Param("isupload") Integer isupload); Data_Dlq_Jbfd selectMaxId(); @@ -20,13 +19,4 @@ public interface Data_Dlq_JbfdDao { List selectUploadById(@Param("maxid") BigInteger maxid); - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateDataList(@Param("isupload") Integer isupload, @Param("idlist") ArrayList id, @Param("updateTime") Date updateTime); - - int updateDataList2(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") ArrayList id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_Dr_JyjcDao.java b/src/main/java/com/shxy/i2/dao/Data_Dr_JyjcDao.java index aa6f55e..2fc5617 100644 --- a/src/main/java/com/shxy/i2/dao/Data_Dr_JyjcDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_Dr_JyjcDao.java @@ -16,11 +16,4 @@ public interface Data_Dr_JyjcDao { Data_Dr_Jyjc selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_FhdlbxDao.java b/src/main/java/com/shxy/i2/dao/Data_FhdlbxDao.java index 4185154..d35c8dd 100644 --- a/src/main/java/com/shxy/i2/dao/Data_FhdlbxDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_FhdlbxDao.java @@ -17,11 +17,4 @@ public interface Data_FhdlbxDao { Data_Fhdlbx selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_FhzxqDao.java b/src/main/java/com/shxy/i2/dao/Data_FhzxqDao.java index aae6c10..da0f730 100644 --- a/src/main/java/com/shxy/i2/dao/Data_FhzxqDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_FhzxqDao.java @@ -16,11 +16,4 @@ public interface Data_FhzxqDao { Data_Fhzxq selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_Jsyhw_JyjcDao.java b/src/main/java/com/shxy/i2/dao/Data_Jsyhw_JyjcDao.java index 9462244..0adac19 100644 --- a/src/main/java/com/shxy/i2/dao/Data_Jsyhw_JyjcDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_Jsyhw_JyjcDao.java @@ -16,11 +16,4 @@ public interface Data_Jsyhw_JyjcDao { Data_Jsyhw_Jyjc selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_MicroclimateDao.java b/src/main/java/com/shxy/i2/dao/Data_MicroclimateDao.java index 5543033..0c69574 100644 --- a/src/main/java/com/shxy/i2/dao/Data_MicroclimateDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_MicroclimateDao.java @@ -16,11 +16,5 @@ public interface Data_MicroclimateDao { Data_Microclimate selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_SF6_QtsfDao.java b/src/main/java/com/shxy/i2/dao/Data_SF6_QtsfDao.java index 4fa1191..78f3f7c 100644 --- a/src/main/java/com/shxy/i2/dao/Data_SF6_QtsfDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_SF6_QtsfDao.java @@ -16,11 +16,4 @@ public interface Data_SF6_QtsfDao { Data_SF6_Qtsf selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_SF6_QtylDao.java b/src/main/java/com/shxy/i2/dao/Data_SF6_QtylDao.java index f2cc4b2..4faa9d5 100644 --- a/src/main/java/com/shxy/i2/dao/Data_SF6_QtylDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_SF6_QtylDao.java @@ -17,11 +17,4 @@ public interface Data_SF6_QtylDao { Data_SF6_Qtyl selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_TxDao.java b/src/main/java/com/shxy/i2/dao/Data_TxDao.java index b092408..91b8c7d 100644 --- a/src/main/java/com/shxy/i2/dao/Data_TxDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_TxDao.java @@ -17,12 +17,5 @@ public interface Data_TxDao { Data_Tx selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_WsDao.java b/src/main/java/com/shxy/i2/dao/Data_WsDao.java index 93c9c75..fcd7530 100644 --- a/src/main/java/com/shxy/i2/dao/Data_WsDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_WsDao.java @@ -16,11 +16,4 @@ public interface Data_WsDao { Data_Ws selectNowId(@Param("date") Date date); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); } \ No newline at end of file diff --git a/src/main/java/com/shxy/i2/dao/Data_YspDao.java b/src/main/java/com/shxy/i2/dao/Data_YspDao.java index 69581b9..d23c31b 100644 --- a/src/main/java/com/shxy/i2/dao/Data_YspDao.java +++ b/src/main/java/com/shxy/i2/dao/Data_YspDao.java @@ -15,18 +15,6 @@ public interface Data_YspDao { List selectUploadById(@Param("maxid") BigInteger maxid); - List selectUpload(@Param("isupload") Integer isupload); - - int updateByPrimaryKey(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateList(@Param("isupload") Integer isupload, @Param("idlist") List id, @Param("updateTime") Date updateTime); - - int updateDataList(@Param("isupload") Integer isupload, @Param("idlist") ArrayList id, @Param("updateTime") Date updateTime); - - int updateDataList2(@Param("isupload") Integer isupload, @Param("maxid") BigInteger maxid, @Param("idlist") ArrayList id, @Param("updateTime") Date updateTime); - - int deleteData(@Param("time") Date time); - Data_Ysp selectMaxId(); Data_Ysp selectNowId(@Param("date") Date time); diff --git a/src/main/resources/mappers/Data_Byq_JbfdDao.xml b/src/main/resources/mappers/Data_Byq_JbfdDao.xml index c4e810a..5cb19f1 100644 --- a/src/main/resources/mappers/Data_Byq_JbfdDao.xml +++ b/src/main/resources/mappers/Data_Byq_JbfdDao.xml @@ -36,118 +36,4 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_byq_jbfd where acquisitionTime >= #{date} - - - - - - - - - - - - - - update data_byq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_byq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - - - update data_byq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where isupload is null - - and ( - - ( - - eqmid = #{item.eqmid} - - - and id #{item.maxid} - - ) - - ) - - - - - - update data_byq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where isupload is null - and id #{maxid} - - and eqmid in - - #{id} - - - - - - delete - from data_byq_jbfd - where acquisitionTime #{time} - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_CnjDao.xml b/src/main/resources/mappers/Data_CnjDao.xml index 63996a1..d27bc09 100644 --- a/src/main/resources/mappers/Data_CnjDao.xml +++ b/src/main/resources/mappers/Data_CnjDao.xml @@ -30,68 +30,4 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_cnj where acquisitionTime >= #{date} - - - - - - - - - - - - - - - - - update data_cnj - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - - update data_cnj - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_cnj - where acquisitionTime #{time} - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_DcywDao.xml b/src/main/resources/mappers/Data_DcywDao.xml index bc69bad..791a028 100644 --- a/src/main/resources/mappers/Data_DcywDao.xml +++ b/src/main/resources/mappers/Data_DcywDao.xml @@ -30,68 +30,4 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_dcyw where acquisitionTime >= #{date} - - - - - - - - - - - - - - - - update data_dcyw - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_dcyw - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_dcyw - where acquisitionTime #{time} - - - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_Dlq_JbfdDao.xml b/src/main/resources/mappers/Data_Dlq_JbfdDao.xml index 6e01a8c..0a6f0b2 100644 --- a/src/main/resources/mappers/Data_Dlq_JbfdDao.xml +++ b/src/main/resources/mappers/Data_Dlq_JbfdDao.xml @@ -37,124 +37,4 @@ - - - - - - - - - - - - - - - - - - - update data_dlq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_dlq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - - update data_dlq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where isupload is null - - and ( - - ( - - eqmid = #{item.eqmid} - - - and id #{item.maxid} - - ) - - ) - - - - - - update data_dlq_jbfd - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where isupload is null - and id #{maxid} - - and eqmid in - - #{id} - - - - - - delete - from data_dlq_jbfd - where acquisitionTime #{time} - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_Dr_JyjcDao.xml b/src/main/resources/mappers/Data_Dr_JyjcDao.xml index d01287b..d0b590e 100644 --- a/src/main/resources/mappers/Data_Dr_JyjcDao.xml +++ b/src/main/resources/mappers/Data_Dr_JyjcDao.xml @@ -37,64 +37,4 @@ - - - - - - - - - - - - - update data_dr_jyjc - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_dr_jyjc - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_dr_jyjc - where acquisitionTime #{time} - - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_FhdlbxDao.xml b/src/main/resources/mappers/Data_FhdlbxDao.xml index d63485e..4aad4c3 100644 --- a/src/main/resources/mappers/Data_FhdlbxDao.xml +++ b/src/main/resources/mappers/Data_FhdlbxDao.xml @@ -32,65 +32,4 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_fhdlbx where acquisitionTime >= #{date} - - - - - - - - - - - - - - - update data_fhdlbx - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_fhdlbx - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_fhdlbx - where acquisitionTime #{time} - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_Jsyhw_JyjcDao.xml b/src/main/resources/mappers/Data_Jsyhw_JyjcDao.xml index dc54c74..a3e84e4 100644 --- a/src/main/resources/mappers/Data_Jsyhw_JyjcDao.xml +++ b/src/main/resources/mappers/Data_Jsyhw_JyjcDao.xml @@ -36,68 +36,4 @@ - - - - - - - - - - - - - - - - - update data_jsyhw_jyjc - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_jsyhw_jyjc - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_jsyhw_jyjc - where acquisitionTime #{time} - - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_MicroclimateDao.xml b/src/main/resources/mappers/Data_MicroclimateDao.xml index 6e482c3..a9cdd2d 100644 --- a/src/main/resources/mappers/Data_MicroclimateDao.xml +++ b/src/main/resources/mappers/Data_MicroclimateDao.xml @@ -38,63 +38,4 @@ - - - - - - - - - - - - - update data_microclimate - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_microclimate - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_microclimate - where acquisitionTime #{time} - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_SF6_QtsfDao.xml b/src/main/resources/mappers/Data_SF6_QtsfDao.xml index af4fa66..eb7d6fd 100644 --- a/src/main/resources/mappers/Data_SF6_QtsfDao.xml +++ b/src/main/resources/mappers/Data_SF6_QtsfDao.xml @@ -31,62 +31,4 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_sf6_qtsf where acquisitionTime >= #{date} - - - - - - - - - - - update data_sf6_qtsf - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - - update data_sf6_qtsf - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_sf6_qtsf - where acquisitionTime #{time} - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_SF6_QtylDao.xml b/src/main/resources/mappers/Data_SF6_QtylDao.xml index a970a63..31880e3 100644 --- a/src/main/resources/mappers/Data_SF6_QtylDao.xml +++ b/src/main/resources/mappers/Data_SF6_QtylDao.xml @@ -48,74 +48,4 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_sf6_qtyl where acquisitionTime >= #{date} - - - - - - - - - - - - - - - - - - update data_sf6_qtyl - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - update data_sf6_qtyl - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - - delete - from data_sf6_qtyl - where acquisitionTime #{time} - - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_TxDao.xml b/src/main/resources/mappers/Data_TxDao.xml index dc0edf8..b233923 100644 --- a/src/main/resources/mappers/Data_TxDao.xml +++ b/src/main/resources/mappers/Data_TxDao.xml @@ -24,75 +24,10 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_tx where acquisitionTime >= #{date} - - - - - - - - - - - - - - - - - update data_tx - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - - update data_tx - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_tx - where acquisitionTime #{time} - - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_WsDao.xml b/src/main/resources/mappers/Data_WsDao.xml index 754d8f2..336dcfe 100644 --- a/src/main/resources/mappers/Data_WsDao.xml +++ b/src/main/resources/mappers/Data_WsDao.xml @@ -30,62 +30,4 @@ SELECT MAX( id ) AS maxid,MIN( id ) AS minid FROM data_ws where acquisitionTime >= #{date} - - - - - - - - - - - - update data_ws - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_ws - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_ws - where acquisitionTime #{time} - \ No newline at end of file diff --git a/src/main/resources/mappers/Data_YspDao.xml b/src/main/resources/mappers/Data_YspDao.xml index 3d3ae11..a1b881c 100644 --- a/src/main/resources/mappers/Data_YspDao.xml +++ b/src/main/resources/mappers/Data_YspDao.xml @@ -44,121 +44,4 @@ data_ysp t1 where t1.id ]]> #{maxid} limit 10000 - - - - - - - - - - - - - - update data_ysp - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - update data_ysp - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - update data_ysp - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where isupload is null - - and ( - - ( - - eqmid = #{item.eqmid} - - - and id #{item.maxid} - - ) - - ) - - - - - update data_ysp - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where isupload is null - and id #{maxid} - - and eqmid in - - #{id} - - - - - - delete - from data_ysp - where acquisitionTime #{time} - - \ No newline at end of file diff --git a/src/main/resources/mappers/data_FhzxqDao.xml b/src/main/resources/mappers/data_FhzxqDao.xml index 9970d5e..b9a5252 100644 --- a/src/main/resources/mappers/data_FhzxqDao.xml +++ b/src/main/resources/mappers/data_FhzxqDao.xml @@ -30,69 +30,4 @@ - - - - - - - - - - - - - - - - - - update data_fhzxq - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id #{maxid} - - and id not in - - #{id} - - - - - - - - update data_fhzxq - - - isupload = #{isupload,jdbcType=INTEGER}, - - - update_time = #{updateTime,jdbcType=TIMESTAMP}, - - - where - id in - - #{id} - - - - - delete - from data_fhzxq - where acquisitionTime #{time} - \ No newline at end of file