Commit a294ab85 authored by fangxinjiang's avatar fangxinjiang

代码优化

parent 814c025c
......@@ -258,7 +258,7 @@
<profiles.active>dev</profiles.active>
<!-- 天翼云-->
<my.hub.host>hub.yifucenter.com:5500</my.hub.host>
<map.group.name>dev-mvp</map.group.name>
<map.group.name>qas-mvp</map.group.name>
<!-- 众多参数配置 -->
</properties>
</profile>
......
#!/usr/bin/env bash
mvn clean package -Ptest -Dmaven.test.skip=true docker:build -DpushImage
\ No newline at end of file
mvn clean package -Pdev -Dmaven.test.skip=true docker:build -DpushImage
\ No newline at end of file
......@@ -183,6 +183,7 @@ public class DictController {
SysDictItem item = sysDictItemService.getOne(Wrappers.<SysDictItem>query().lambda()
.eq(SysDictItem::getType,sysDictItem.getType())
.eq(SysDictItem::getValue,sysDictItem.getValue())
.eq(SysDictItem::getDelFlag,CommonConstants.ZERO_STRING)
.last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(item)){
return R.failed(MsgUtils.getMessage(ErrorCodes.SYS_DICT_ITEM_ADD_VALUE_EXIST));
......@@ -202,6 +203,7 @@ public class DictController {
.eq(SysDictItem::getType,sysDictItem.getType())
.ne(SysDictItem::getId,sysDictItem.getDictId())
.eq(SysDictItem::getValue,sysDictItem.getValue())
.eq(SysDictItem::getDelFlag,CommonConstants.ZERO_STRING)
.last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(item)){
return R.failed(MsgUtils.getMessage(ErrorCodes.SYS_DICT_ITEM_ADD_VALUE_EXIST));
......
......@@ -97,7 +97,6 @@ springdoc:
#按包路径匹配
packagesToScan: com.yifu.cloud.plus.v1.yifu.admin.controller
---
spring:
config:
activate:
......@@ -114,7 +113,6 @@ spring:
#url: jdbc:mysql://127.0.0.1:3306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url: jdbc:mysql://192.168.1.65:22306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
---
spring:
mvc:
pathmatch:
......
......@@ -63,11 +63,6 @@
</filter>
</appender>
<!--nacos 心跳 INFO 屏蔽-->
<logger name="com.alibaba.nacos" level="OFF">
<appender-ref ref="error"/>
</logger>
<!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 -->
<root level="INFO">
<appender-ref ref="console"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment