Commit a43cd664 authored by danfuman's avatar danfuman
parents 7b5b5e31 07974600
...@@ -56,9 +56,9 @@ spring: ...@@ -56,9 +56,9 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://47.104.91.229:3306/dsk-operate-sys?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://192.168.0.79:3306/dsk-operate-sys?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: dev username: dev
password: zfTFIJjaN#6xB83r password: 8AXjjCHZ666!
# 从库数据源 # 从库数据源
# slave: # slave:
# # 从数据源开关/默认关闭 # # 从数据源开关/默认关闭
...@@ -130,7 +130,8 @@ spring: ...@@ -130,7 +130,8 @@ spring:
# redis 配置 # redis 配置
redis: redis:
# 地址 # 地址
host: 47.104.91.229 # host: 139.9.157.49
host: 192.168.0.79
# 端口,默认为6379 # 端口,默认为6379
port: 6379 port: 6379
# 数据库索引 # 数据库索引
......
spring: spring:
profiles: profiles:
active: test active: pre
# MyBatisPlus配置 # MyBatisPlus配置
# https://baomidou.com/config/ # https://baomidou.com/config/
......
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
return false return false
editXMNR(param).then(result=>{ editXMNR(param).then(result=>{
if(result.code == 200){ if(result.code == 200){
this.$message.success('修改成功!') // this.$message.success('修改成功!')
if(param.investmentAmount){//修改项目阶段 if(param.investmentAmount){//修改项目阶段
this.$emit('Refrehmoney') this.$emit('Refrehmoney')
} }
......
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
editXMNR(JSON.stringify(params)).then(res=>{ editXMNR(JSON.stringify(params)).then(res=>{
if (res.code == 200){ if (res.code == 200){
if(!param.projectStage){ if(!param.projectStage){
this.$message.success('修改成功!') // this.$message.success('修改成功!')
} }
}else{ }else{
this.$message.error(res.msg) this.$message.error(res.msg)
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
} }
addLabel(JSON.stringify(param)).then(res=>{ addLabel(JSON.stringify(param)).then(res=>{
if (res.code == 200){ if (res.code == 200){
this.$message.success('修改成功!') // this.$message.success('修改成功!')
this.tipsvalue = "" this.tipsvalue = ""
this.getXMSL() this.getXMSL()
}else{ }else{
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
} }
removeLabel(JSON.stringify(param)).then(res=>{ removeLabel(JSON.stringify(param)).then(res=>{
if (res.code == 200){ if (res.code == 200){
this.$message.success('修改成功!') // this.$message.success('修改成功!')
this.getXMSL() this.getXMSL()
}else{ }else{
this.$message.error(res.msg) this.$message.error(res.msg)
......
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
} }
editXMNR(JSON.stringify(params)).then(res=>{ editXMNR(JSON.stringify(params)).then(res=>{
if (res.code == 200){ if (res.code == 200){
this.$message.success('修改成功!') // this.$message.success('修改成功!')
if(this.nowedit == 1){ if(this.nowedit == 1){
let _this = this let _this = this
setTimeout(function() { setTimeout(function() {
......
...@@ -73,7 +73,7 @@ public class RegionalEnterprisesServiceImpl implements RegionalEnterprisesServic ...@@ -73,7 +73,7 @@ public class RegionalEnterprisesServiceImpl implements RegionalEnterprisesServic
List<Map<String, Object>> companyNameList = (List<Map<String, Object>>)MapUtils.getObject(topSupplierMap, "data", null); List<Map<String, Object>> companyNameList = (List<Map<String, Object>>)MapUtils.getObject(topSupplierMap, "data", null);
for (Map<String, Object> comMap : companyNameList) { for (Map<String, Object> comMap : companyNameList) {
Integer id = MapUtils.getInteger(comMap, "id", 0); Integer id = MapUtils.getInteger(comMap, "id", 0);
if (id.equals(topCustomerId)) { if (id.equals(topSupplierId)) {
String companyName = MapUtils.getString(comMap, "companyName", null); String companyName = MapUtils.getString(comMap, "companyName", null);
companyMap.put("topSupplier", companyName); companyMap.put("topSupplier", companyName);
} }
......
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