upgrade: 更新 hutool 和 mybatis plus 版本
This commit is contained in:
parent
72482ee395
commit
6755515b1f
@ -28,6 +28,10 @@ public class InsertIgnoreBatchAllColumn extends AbstractMethod {
|
||||
@Accessors(chain = true)
|
||||
private Predicate<TableFieldInfo> predicate;
|
||||
|
||||
protected InsertIgnoreBatchAllColumn(String methodName) {
|
||||
super(methodName);
|
||||
}
|
||||
|
||||
@SuppressWarnings("Duplicates")
|
||||
@Override
|
||||
public MappedStatement injectMappedStatement(Class<?> mapperClass, Class<?> modelClass, TableInfo tableInfo) {
|
||||
@ -36,7 +40,7 @@ public class InsertIgnoreBatchAllColumn extends AbstractMethod {
|
||||
String sqlTemplate = "<script>\nINSERT IGNORE INTO %s %s VALUES %s\n</script>";
|
||||
|
||||
List<TableFieldInfo> fieldList = tableInfo.getFieldList();
|
||||
String insertSqlColumn = tableInfo.getKeyInsertSqlColumn(true, false) +
|
||||
String insertSqlColumn = tableInfo.getKeyInsertSqlColumn(true, "", false) +
|
||||
this.filterTableFieldInfo(fieldList, predicate, TableFieldInfo::getInsertSqlColumn, EMPTY);
|
||||
String columnScript = LEFT_BRACKET + insertSqlColumn.substring(0, insertSqlColumn.length() - 1) + RIGHT_BRACKET;
|
||||
String insertSqlProperty = tableInfo.getKeyInsertSqlProperty(true, ENTITY_DOT, false) +
|
||||
|
@ -28,7 +28,7 @@ public class SpiceSqlInjector extends DefaultSqlInjector {
|
||||
// methodList.add(new InsertBatchSomeColumn(t -> !t.isLogicDelete() && !"update_time".equals(t.getColumn())));
|
||||
// 要逻辑删除 t.isLogicDelete() 默认不要
|
||||
methodList.add(new InsertBatchSomeColumn(t -> !t.isLogicDelete()));
|
||||
methodList.add(new InsertIgnoreBatchAllColumn());
|
||||
methodList.add(new InsertIgnoreBatchAllColumn("insertIgnoreBatchAllColumn"));
|
||||
return methodList;
|
||||
}
|
||||
}
|
||||
|
6
pom.xml
6
pom.xml
@ -25,12 +25,12 @@
|
||||
<docker-registry>registry.cn-beijing.aliyuncs.com/lili-images</docker-registry>
|
||||
<images-version>1</images-version>
|
||||
<alipay-sdk-version>4.22.32.ALL</alipay-sdk-version>
|
||||
<mybatis-plus-version>3.5.1</mybatis-plus-version>
|
||||
<Hutool-version>5.8.14</Hutool-version>
|
||||
<mybatis-plus-version>3.5.5</mybatis-plus-version>
|
||||
<Hutool-version>5.8.24</Hutool-version>
|
||||
<TinyPinyin-verions>2.0.3.RELEASE</TinyPinyin-verions>
|
||||
<jasypt-version>3.0.4</jasypt-version>
|
||||
<neetl-version>2.9.10</neetl-version>
|
||||
<lombok-version>1.18.24</lombok-version>
|
||||
<lombok-version>1.18.30</lombok-version>
|
||||
<redisson>3.15.6</redisson>
|
||||
<aliyun-version>4.5.18</aliyun-version>
|
||||
<aliyun-sdk-oss-version>3.11.1</aliyun-sdk-oss-version>
|
||||
|
Loading…
x
Reference in New Issue
Block a user