|
|
@@ -2,6 +2,7 @@ package com.ningdatech.pmapi.gov.manage; |
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
@@ -406,6 +407,7 @@ public class GovProjectCollectionManage { |
|
|
|
String url = pushUrl; |
|
|
|
ProjectPushReq req = ProjectConvert.convert(saveDTO); |
|
|
|
try{ |
|
|
|
log.info("推送消息体 {} ,{},{}",saveDTO.getBaseProjId(),url, JSON.toJSONString(req)); |
|
|
|
ResponseEntity<String> response = restTemplate.postForEntity(url, null, String.class, req); |
|
|
|
log.info("推送结果 {} :{}",saveDTO.getBaseProjId(),response); |
|
|
|
}catch (Exception e){ |
|
|
@@ -422,6 +424,7 @@ public class GovProjectCollectionManage { |
|
|
|
baseinfo.setIsEffective(BizProjectContant.NOT_EFFECTIVE_CODE); |
|
|
|
ProjectBaseInfoReq req = ProjectConvert.convertBase(baseinfo); |
|
|
|
try{ |
|
|
|
log.info("推送消息体 {},{},{}",baseinfo.getBaseProjId(),url, JSON.toJSONString(req)); |
|
|
|
ResponseEntity<String> response = restTemplate.postForEntity(url, null, String.class, req); |
|
|
|
log.info("推送结果 {} :{}",baseinfo.getBaseProjId(),response); |
|
|
|
}catch (Exception e){ |
|
|
|