Commit 91a1e85e authored by shenxin's avatar shenxin

添加办件重新推送接口

parent 69064313
......@@ -71,6 +71,7 @@ public class ApplyAndAcceptInformationTaskImpl implements ITaskExcuteService {
List<InformationEntity> entities = informationEntities.parallelStream().map(e -> {
ArameterEntity extCache = new ArameterEntity();
extCache.setSysCode(e.getSystemCode());
extCache.setAreaCode(e.getAreaCode());
extCache = arameterService.find(extCache).get(0);
Map<String, Object> dataMap = assembleData(e);
String post = "";
......
......@@ -111,6 +111,7 @@ public class DecideInformationTaskImpl implements ITaskExcuteService {
try {
ArameterEntity extCache = new ArameterEntity();
extCache.setSysCode(e.getSystemCode());
extCache.setAreaCode(e.getAreaCode());
extCache = arameterService.find(extCache).get(0);
post = HttpUtil.post(extCache.getDecideAdress(), JSONObject.toJSONString(dataMap));
if(StringUtils.isEmpty(post)){
......
......@@ -112,6 +112,7 @@ public class ReviewInformationTaskImpl implements ITaskExcuteService {
try {
ArameterEntity extCache = new ArameterEntity();
extCache.setSysCode(e.getSystemCode());
extCache.setAreaCode(e.getAreaCode());
extCache = arameterService.find(extCache).get(0);
post = HttpUtil.post(extCache.getReviewAdress(), JSONObject.toJSONString(dataMap));
if(StringUtils.isEmpty(post)){
......
......@@ -71,10 +71,14 @@
<properties>
<profiles.active>product</profiles.active>
<profiles.datasource.uri>
<![CDATA[jdbc:mysql://localhost:3306/xhx-base?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Hongkong]]></profiles.datasource.uri>
<profiles.datasource.username>root</profiles.datasource.username>
<profiles.datasource.password>nczwroot</profiles.datasource.password>
<profiles.redis.uri>127.0.0.1</profiles.redis.uri>
<!--<![CDATA[jdbc:mysql://localhost:3306/xhx-base?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Hongkong]]></profiles.datasource.uri>-->
<![CDATA[jdbc:mysql://10.11.205.32:3306/xhx-base?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Hongkong]]></profiles.datasource.uri>
<profiles.datasource.username>xhx</profiles.datasource.username>
<!--<profiles.datasource.username>root</profiles.datasource.username>-->
<!--<profiles.datasource.password>nczwroot</profiles.datasource.password>-->
<profiles.datasource.password>123456</profiles.datasource.password>
<!--<profiles.redis.uri>127.0.0.1</profiles.redis.uri>-->
<profiles.redis.uri>10.11.205.32</profiles.redis.uri>
<profiles.redis.port>6379</profiles.redis.port>
<profiles.redis.username></profiles.redis.username>
<profiles.redis.password></profiles.redis.password>
......
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