|
@ -11,8 +11,6 @@ import com.elink.esua.epdc.dto.screen.result.*; |
|
|
import com.elink.esua.epdc.modules.screen.dao.ScreenGovernanceDao; |
|
|
import com.elink.esua.epdc.modules.screen.dao.ScreenGovernanceDao; |
|
|
import com.elink.esua.epdc.modules.screen.service.ScreenGovernanceService; |
|
|
import com.elink.esua.epdc.modules.screen.service.ScreenGovernanceService; |
|
|
import com.elink.esua.epdc.utils.EpmetUtils; |
|
|
import com.elink.esua.epdc.utils.EpmetUtils; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
@ -29,7 +27,6 @@ import java.util.Optional; |
|
|
* @author zhy |
|
|
* @author zhy |
|
|
* @date 2021/6/28 13:51 |
|
|
* @date 2021/6/28 13:51 |
|
|
*/ |
|
|
*/ |
|
|
@Slf4j |
|
|
|
|
|
@Service |
|
|
@Service |
|
|
public class ScreenGovernanceServiceImpl extends BaseServiceImpl<ScreenGovernanceDao, ScreenGovernanceResultDTO> implements ScreenGovernanceService { |
|
|
public class ScreenGovernanceServiceImpl extends BaseServiceImpl<ScreenGovernanceDao, ScreenGovernanceResultDTO> implements ScreenGovernanceService { |
|
|
|
|
|
|
|
@ -73,6 +70,7 @@ public class ScreenGovernanceServiceImpl extends BaseServiceImpl<ScreenGovernanc |
|
|
agencyResult.setTransferCount(agencyResult.getTransferCount() + item.getTransferCount()); |
|
|
agencyResult.setTransferCount(agencyResult.getTransferCount() + item.getTransferCount()); |
|
|
agencyResult.setResolvedCount(agencyResult.getResolvedCount() + item.getResolvedCount()); |
|
|
agencyResult.setResolvedCount(agencyResult.getResolvedCount() + item.getResolvedCount()); |
|
|
agencyResult.setClosedCount(agencyResult.getClosedCount() + item.getResolvedCount()); |
|
|
agencyResult.setClosedCount(agencyResult.getClosedCount() + item.getResolvedCount()); |
|
|
|
|
|
agencyResult.setClosedProjectCount(agencyResult.getClosedCount() + item.getResolvedCount()); |
|
|
agencyResult.setGovernCount(agencyResult.getGovernCount() + item.getGovernCount()); |
|
|
agencyResult.setGovernCount(agencyResult.getGovernCount() + item.getGovernCount()); |
|
|
agencyResult.setSatisfactionCount(agencyResult.getSatisfactionCount() + item.getSatisfactionCount()); |
|
|
agencyResult.setSatisfactionCount(agencyResult.getSatisfactionCount() + item.getSatisfactionCount()); |
|
|
} |
|
|
} |
|
@ -95,6 +93,7 @@ public class ScreenGovernanceServiceImpl extends BaseServiceImpl<ScreenGovernanc |
|
|
agencyResult.setTransferCount(transferCount); |
|
|
agencyResult.setTransferCount(transferCount); |
|
|
agencyResult.setResolvedCount(resolvedCount); |
|
|
agencyResult.setResolvedCount(resolvedCount); |
|
|
agencyResult.setClosedCount(closedCount); |
|
|
agencyResult.setClosedCount(closedCount); |
|
|
|
|
|
agencyResult.setClosedProjectCount(closedCount); |
|
|
agencyResult.setGovernCount(governCount); |
|
|
agencyResult.setGovernCount(governCount); |
|
|
agencyResult.setSatisfactionCount(satisfactionCount); |
|
|
agencyResult.setSatisfactionCount(satisfactionCount); |
|
|
} |
|
|
} |
|
@ -132,7 +131,6 @@ public class ScreenGovernanceServiceImpl extends BaseServiceImpl<ScreenGovernanc |
|
|
jsonObject.put("dateId", yearMonthDay); |
|
|
jsonObject.put("dateId", yearMonthDay); |
|
|
jsonObject.put("dataList", data); |
|
|
jsonObject.put("dataList", data); |
|
|
String body = epmetUtils.httpPost(EpmetConstant.EPMET_SCREEN_GOV_RANK_DATA, JSONObject.toJSONString(jsonObject)); |
|
|
String body = epmetUtils.httpPost(EpmetConstant.EPMET_SCREEN_GOV_RANK_DATA, JSONObject.toJSONString(jsonObject)); |
|
|
log.info(body); |
|
|
|
|
|
return new Result(); |
|
|
return new Result(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|