feat 改回注册中心配置
This commit is contained in:
@@ -18,7 +18,7 @@ public class ActDefineStartMap {
|
|||||||
map.put("2","standardSurveyWorkFlow");
|
map.put("2","standardSurveyWorkFlow");
|
||||||
map.put("3","standardCommentProcessWorkFlow");
|
map.put("3","standardCommentProcessWorkFlow");
|
||||||
|
|
||||||
map.put("3","standardregulatoryinventory");
|
map.put("4","standardregulatoryinventory");
|
||||||
return map.get(type);
|
return map.get(type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -213,7 +213,7 @@ public class WorkFlowController {
|
|||||||
|
|
||||||
@ApiOperation(value = "完成任务")
|
@ApiOperation(value = "完成任务")
|
||||||
@PostMapping("/completeTask")
|
@PostMapping("/completeTask")
|
||||||
public Wrapper<String> completeTaskByUserId(@RequestBody BusMes busMes){
|
public Wrapper<String> completeTaskByUserId(BusMes busMes){
|
||||||
Wrapper<String> str = workFlowFeignClient.completeTaskByUserId(busMes);
|
Wrapper<String> str = workFlowFeignClient.completeTaskByUserId(busMes);
|
||||||
if(str.getCode() == 500){
|
if(str.getCode() == 500){
|
||||||
str.setSuccess(false);
|
str.setSuccess(false);
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ spring.datasource.password = root
|
|||||||
|
|
||||||
#==============================================
|
#==============================================
|
||||||
# 应用设置
|
# 应用设置
|
||||||
spring.application.name=FotonLAWSSystem-zqazqazqa
|
spring.application.name=FotonLAWSSystem
|
||||||
application.code=20200101
|
application.code=20200101
|
||||||
application.center=1
|
application.center=1
|
||||||
#==============================================
|
#==============================================
|
||||||
#Eruept
|
#Eruept
|
||||||
eureka.client.allow-redirects=false
|
eureka.client.allow-redirects=true
|
||||||
eureka.client.register-with-eureka=false
|
eureka.client.register-with-eureka=true
|
||||||
eureka.client.service-url.defaultZone=http://127.0.0.1:8671/eureka/
|
eureka.client.service-url.defaultZone=http://192.168.10.47:8761/eureka/
|
||||||
|
|
||||||
#==============================================
|
#==============================================
|
||||||
# 邮箱配置1
|
# 邮箱配置1
|
||||||
@@ -35,13 +35,16 @@ spring.mail.port=587
|
|||||||
# ==============================================
|
# ==============================================
|
||||||
# rabbitMQ
|
# rabbitMQ
|
||||||
# ==============================================
|
# ==============================================
|
||||||
spring.rabbitmq.host=rabbitmq-cluster-01.vs.test.geely.svc
|
#spring.rabbitmq.host=rabbitmq-cluster-01.vs.test.geely.svc
|
||||||
spring.rabbitmq.port=5672
|
#spring.rabbitmq.port=5672
|
||||||
spring.rabbitmq.virtual-host=uat_pcms
|
#spring.rabbitmq.virtual-host=uat_pcms
|
||||||
spring.rabbitmq.username=uat_pcms
|
#spring.rabbitmq.username=uat_pcms
|
||||||
spring.rabbitmq.password=VxsBLL5bJruwzXfS
|
#spring.rabbitmq.password=VxsBLL5bJruwzXfS
|
||||||
# spring.rabbitmq.publisher-confirms=true
|
# spring.rabbitmq.publisher-confirms=true
|
||||||
|
spring.rabbitmq.host=192.168.10.248
|
||||||
|
spring.rabbitmq.port=5672
|
||||||
|
spring.rabbitmq.username=ca
|
||||||
|
spring.rabbitmq.password=cs986432
|
||||||
# ==============================================
|
# ==============================================
|
||||||
# 文档存储路径指向
|
# 文档存储路径指向
|
||||||
# ==============================================
|
# ==============================================
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="existTable" parameterType="java.lang.String" resultType="java.lang.Integer">
|
<select id="existTable" parameterType="java.lang.String" resultType="java.lang.Integer">
|
||||||
select count(*) from user_tables where table_name = #{tableName}
|
select count(*) from information_schema.TABLES where table_name = #{tableName}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 查询条件 -->
|
<!-- 查询条件 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user