diff --git a/jeecg-boot-base-core/pom.xml b/jeecg-boot-base-core/pom.xml
index 1e5181eb..81364887 100644
--- a/jeecg-boot-base-core/pom.xml
+++ b/jeecg-boot-base-core/pom.xml
@@ -124,13 +124,6 @@
${mysql-connector-java.version}
runtime
-
-
- com.microsoft.sqlserver
- sqljdbc4
- ${sqljdbc4.version}
- runtime
-
com.oracle
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusKeyGenerator.java b/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusKeyGenerator.java
deleted file mode 100644
index 416a954b..00000000
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusKeyGenerator.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package org.jeecg.config.mybatis;
-
-import com.baomidou.mybatisplus.extension.incrementer.PostgreKeyGenerator;
-import org.springframework.context.annotation.Bean;
-import org.springframework.stereotype.Component;
-
-@Component("MybatisPlusKeyGenerator")
-public class MybatisPlusKeyGenerator {
- @Bean
- public PostgreKeyGenerator postgreKeyGenerator(){
- return new PostgreKeyGenerator();
- }
-}
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsDetectors.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsDetectors.java
index 32d317ed..49935de5 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsDetectors.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsDetectors.java
@@ -1,5 +1,6 @@
package org.jeecg.modules.base.entity.configuration;
+import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -22,7 +23,7 @@ public class GardsDetectors implements Serializable {
/**
* 探测器id
*/
- @TableId(value = "DETECTOR_ID")
+ @TableId(value="detector_id",type = IdType.INPUT)
private Integer detectorId;
/**
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsStations.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsStations.java
index 1787c66a..6e81692b 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsStations.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/configuration/GardsStations.java
@@ -1,5 +1,6 @@
package org.jeecg.modules.base.entity.configuration;
+import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -21,7 +22,7 @@ public class GardsStations implements Serializable {
/**
* 台站id
*/
- @TableId("STATION_ID")
+ @TableId(value = "station_id",type = IdType.INPUT)
@NotNull(message = "不能为空", groups = {InsertGroup.class, UpdateGroup.class})
private Integer stationId;
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsAlertData.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsAlertData.java
index fd3ec81f..ad1bd455 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsAlertData.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsAlertData.java
@@ -10,7 +10,6 @@ import java.util.Date;
@Data
@TableName("ORIGINAL.GARDS_ALERT_DATA")
-@KeySequence("original.gards_alert_data_seq")
public class GardsAlertData implements Serializable {
@TableField(value = "STATION_ID")
@@ -20,7 +19,7 @@ public class GardsAlertData implements Serializable {
@TableField(value = "STATION_CODE")
private String stationCode;
- @TableId(value = "ALERT_ID",type = IdType.INPUT)
+ @TableId(value="alert_id",type = IdType.AUTO)
private Integer alertId;
@TableField(value = "TIME")
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsDOSData.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsDOSData.java
index 3f96f896..7a980361 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsDOSData.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsDOSData.java
@@ -11,7 +11,6 @@ import java.util.Date;
@Data
@TableName(value = "ORIGINAL.GARDS_DOS_DATA")
-@KeySequence("original.gards_dos_data_seq")
public class GardsDOSData implements Serializable {
/**
@@ -30,7 +29,7 @@ public class GardsDOSData implements Serializable {
/**
* 报警ID号
*/
- @TableId(value = "DOS_ID",type = IdType.INPUT)
+ @TableId(value="dos_id",type = IdType.AUTO)
@Excel(name = "SID",orderNum = "5")
private Integer dosId;
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsGPSData.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsGPSData.java
index da619360..093cc23e 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsGPSData.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsGPSData.java
@@ -19,7 +19,7 @@ public class GardsGPSData implements Serializable {
@TableField(value = "STATION_CODE")
private String stationCode;
- @TableId(value = "GPS_ID",type = IdType.INPUT)
+ @TableId(value="gps_id",type = IdType.AUTO)
private Integer gpsId;
@TableField(value = "LON")
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsMetData.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsMetData.java
index 82b170cc..52208b68 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsMetData.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsMetData.java
@@ -11,7 +11,6 @@ import java.util.Date;
@Data
@TableName(value = "ORIGINAL.GARDS_MET_DATA")
-@KeySequence("original.gards_met_data_seq")
public class GardsMetData implements Serializable {
/**
@@ -29,7 +28,7 @@ public class GardsMetData implements Serializable {
/**
* 气象数据id
*/
- @TableId(value = "MET_ID",type = IdType.INPUT)
+ @TableId(value="met_id",type = IdType.AUTO)
private Integer metId;
/**
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSampleData.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSampleData.java
index 3213c577..90dbc332 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSampleData.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSampleData.java
@@ -11,7 +11,6 @@ import java.util.Date;
@Data
@TableName("ORIGINAL.GARDS_SAMPLE_DATA")
-@KeySequence("original.gards_sample_data_seq")
public class GardsSampleData implements Serializable {
/**
@@ -25,7 +24,7 @@ public class GardsSampleData implements Serializable {
* 样品id
*/
- @TableId(value = "SAMPLE_ID",type = IdType.INPUT)
+ @TableId(value = "sample_id",type = IdType.AUTO)
private Integer sampleId;
/**
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSohData.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSohData.java
index c96a4703..fc806c93 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSohData.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/original/GardsSohData.java
@@ -10,7 +10,6 @@ import java.util.Date;
@Data
@TableName(value = "ORIGINAL.GARDS_SOH_DATA")
-@KeySequence("original.gards_soh_data_seq")
public class GardsSohData implements Serializable {
/**
@@ -29,7 +28,7 @@ public class GardsSohData implements Serializable {
/**
* 报警ID号
*/
- @TableId(value = "SOH_ID",type = IdType.INPUT)
+ @TableId(value = "soh_id",type = IdType.AUTO)
@Excel(name = "SID",orderNum = "5")
private Integer sohId;
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalyses.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalyses.java
index a0ef79c7..454c387d 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalyses.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalyses.java
@@ -13,13 +13,12 @@ import java.util.Date;
*/
@Data
@TableName("RNAUTO.GARDS_ANALYSES")
-@KeySequence(value = "rnauto.gards_analyses_seq", dbType = DbType.POSTGRE_SQL)
public class GardsAnalyses implements Serializable {
/**
* 分析ID号
*/
- @TableId(value = "IDANALYSIS",type = IdType.INPUT)
+ @TableId(value="idanalysis",type = IdType.AUTO)
private Integer idAnalysis;
/**
* 样品id
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalysisRoi.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalysisRoi.java
index 6b8c9149..b06eb0c4 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalysisRoi.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsAnalysisRoi.java
@@ -14,7 +14,6 @@ import org.springframework.format.annotation.DateTimeFormat;
@Data
@TableName("RNAUTO.GARDS_ANALYSIS_ROI")
-@KeySequence(value = "rnauto.gards_analyses_roi_seq", dbType = DbType.POSTGRE_SQL)
@Accessors(chain = true)
public class GardsAnalysisRoi {
@@ -23,7 +22,7 @@ public class GardsAnalysisRoi {
private Integer sampleId;
- @TableId(value = "ROI_ID",type = IdType.INPUT)
+ @TableId(value="roi_id",type = IdType.INPUT)
private Integer roiId;
private Integer roiNum;
diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsAnalyses.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsAnalyses.java
index 3bd28574..4108d3b2 100644
--- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsAnalyses.java
+++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsAnalyses.java
@@ -1,6 +1,8 @@
package org.jeecg.modules.base.entity.rnman;
+import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
@@ -20,7 +22,7 @@ public class GardsAnalyses implements Serializable {
/**
* 分析ID号
*/
- @TableField(value = "IDANALYSIS")
+ @TableId(value = "idanalysis",type= IdType.AUTO)
private Integer idAnalysis;
/**
* 样品id
diff --git a/jeecg-module-station-operation/src/main/java/org/jeecg/modules/mapper/xml/calCulStationInfoMapper.xml b/jeecg-module-station-operation/src/main/java/org/jeecg/modules/mapper/xml/calCulStationInfoMapper.xml
index 52081c98..1a2dfa77 100644
--- a/jeecg-module-station-operation/src/main/java/org/jeecg/modules/mapper/xml/calCulStationInfoMapper.xml
+++ b/jeecg-module-station-operation/src/main/java/org/jeecg/modules/mapper/xml/calCulStationInfoMapper.xml
@@ -22,7 +22,7 @@