|
@@ -98,13 +98,9 @@ public class StorageServiceImpl {
|
|
|
}else if(supplyType == 2){
|
|
}else if(supplyType == 2){
|
|
|
//这里合并两部分数据
|
|
//这里合并两部分数据
|
|
|
List<TdgyStatisticsRes> completeList = new ArrayList<>();
|
|
List<TdgyStatisticsRes> completeList = new ArrayList<>();
|
|
|
- List<TdgyStatisticsRes> completeBusinessStatusList = dgyMapper.getListByYear(null, null, null, null);
|
|
|
|
|
- List<TdgyStatisticsRes> completeSjgdList = dgyMapper.getSjgdListByYear(null, null, null, null);
|
|
|
|
|
- if(CollectionUtils.isNotEmpty(completeBusinessStatusList)){
|
|
|
|
|
- completeList.addAll(completeBusinessStatusList);
|
|
|
|
|
- }
|
|
|
|
|
- if(CollectionUtils.isNotEmpty(completeSjgdList)){
|
|
|
|
|
- completeList.addAll(completeSjgdList);
|
|
|
|
|
|
|
+ List<TdgyStatisticsRes> sjgdList = gjShijiShouchuMapper.gjShijiShouchuListByYear(null, null, null, null);
|
|
|
|
|
+ if (CollectionUtils.isNotEmpty(sjgdList)) {
|
|
|
|
|
+ completeList.addAll(sjgdList);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
AtomicInteger i= new AtomicInteger();
|
|
AtomicInteger i= new AtomicInteger();
|
|
@@ -113,11 +109,6 @@ public class StorageServiceImpl {
|
|
|
vo.setProjectPropertyId(item.getProjectId());
|
|
vo.setProjectPropertyId(item.getProjectId());
|
|
|
vo.setProjectName(item.getXmmc());
|
|
vo.setProjectName(item.getXmmc());
|
|
|
vo.setCompanyName(item.getCompany());
|
|
vo.setCompanyName(item.getCompany());
|
|
|
- if(i.incrementAndGet()/5 == 0){
|
|
|
|
|
- vo.setSupplyMethod("收购");
|
|
|
|
|
- }else {
|
|
|
|
|
- vo.setSupplyMethod("征地");
|
|
|
|
|
- }
|
|
|
|
|
vo.setSupplyType(supplyType.toString());
|
|
vo.setSupplyType(supplyType.toString());
|
|
|
vo.setDateType(supplyType.toString());
|
|
vo.setDateType(supplyType.toString());
|
|
|
if(StringUtils.isBlank(item.getProjectId())){
|
|
if(StringUtils.isBlank(item.getProjectId())){
|