|
@ -14,6 +14,7 @@ import com.epmet.evaluationindex.screen.dto.form.AgencyFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.AgencyNumTypeParamFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.form.AgencyNumTypeParamFormDTO; |
|
|
import com.epmet.evaluationindex.screen.dto.result.*; |
|
|
import com.epmet.evaluationindex.screen.dto.result.*; |
|
|
import com.github.pagehelper.PageHelper; |
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.util.CollectionUtils; |
|
|
import org.springframework.util.CollectionUtils; |
|
@ -89,7 +90,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
PageHelper.startPage(NumConstant.ONE,param.getTopNum()); |
|
|
PageHelper.startPage(NumConstant.ONE,param.getTopNum()); |
|
|
List<DifficultProjectResultDTO> result = screenDifficultyDataDao.selectDifficulty(param.getAgencyId(),param.getType()); |
|
|
List<DifficultProjectResultDTO> result = screenDifficultyDataDao.selectDifficulty(param.getAgencyId(),param.getType()); |
|
|
for(DifficultProjectResultDTO resultDTO:result){ |
|
|
for(DifficultProjectResultDTO resultDTO:result){ |
|
|
if(!resultDTO.getImgUrl().contains("http")){ |
|
|
if (StringUtils.isNotBlank(resultDTO.getImgUrl()) && !resultDTO.getImgUrl().contains("http")) { |
|
|
resultDTO.setImgUrl(StrConstant.EPMETY_STR); |
|
|
resultDTO.setImgUrl(StrConstant.EPMETY_STR); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|