[修改]起草组管理-复制后,位数达到满位后,再复制,提示语不明确
This commit is contained in:
+3
@@ -264,6 +264,9 @@ public class PayDraftingGroupServiceImpl extends ServiceImpl<PayDraftingGroupMap
|
||||
throw new JeroBootException("起草组名称长度为50位,不可复制,请修改之后再复制!");
|
||||
}
|
||||
String str = payDraftingGroupOld.getDraftingGroupProject() + "-副本";
|
||||
if(str.length() >= 50) {
|
||||
throw new JeroBootException("起草组名称长度为50位,不可复制,请修改之后再复制!");
|
||||
}
|
||||
LambdaQueryWrapper<PayDraftingGroup> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.like(PayDraftingGroup::getDraftingGroupProject,str);
|
||||
List<PayDraftingGroup> listPayDraftingGroup = list(queryWrapper);
|
||||
|
||||
@@ -136,20 +136,20 @@ spring:
|
||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
||||
datasource:
|
||||
master:
|
||||
url: jdbc:mysql://10.10.10.44:3306/income_payments_test?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
# url: jdbc:mysql://10.10.10.44:3306/income_payments_test?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
# username: root
|
||||
# password: hzwlsoft.com
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:p6spy:mysql://lijiarao.cn:3306/income_payments_prod?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: hzwlsoft.com
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# url: jdbc:p6spy:mysql://lijiarao.cn:3306/income_payments_prod?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
# username: root
|
||||
# password: 704670af746903fa
|
||||
# driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
# # 多数据源配置
|
||||
# multi-datasource1:
|
||||
# url: jdbc:p6spy:mysql://lijiarao.cn:3306/standards_association?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&serverTimezone=Asia/Shanghai
|
||||
# username: root
|
||||
# password: 704670af746903fa
|
||||
# driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
password: 704670af746903fa
|
||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
# 多数据源配置
|
||||
multi-datasource1:
|
||||
url: jdbc:p6spy:mysql://lijiarao.cn:3306/standards_association?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: 704670af746903fa
|
||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
redis:
|
||||
database: 14
|
||||
# host: 121.36.69.172
|
||||
|
||||
Reference in New Issue
Block a user