|
|
@ -169,6 +169,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
|
while(CollectionUtils.isEmpty(orderList) && time > NumConstant.ONE){ |
|
|
|
time--; |
|
|
|
monthId = dateUtils.getPreviousMonthIdByDest(null ,monthId); |
|
|
|
PageHelper.startPage(NumConstant.ONE,param.getTopNum()); |
|
|
|
orderList = |
|
|
|
screenGovernRankDataDao.selectGovernCapacityRatio(monthId,param.getAgencyId()); |
|
|
|
} |
|
|
@ -238,11 +239,7 @@ public class GrassRootsGovernServiceImpl implements GrassRootsGovernService { |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
private String convertPercentStr(BigDecimal percent){ |
|
|
|
if(null == percent || BigDecimal.ZERO == percent) return "0.00%"; |
|
|
|
String percentStr = percent.setScale(NumConstant.TWO, BigDecimal.ROUND_HALF_UP).stripTrailingZeros().toPlainString(); |
|
|
|
return percentStr.concat(ModuleConstant.SYMBOL_PERCENT); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private String convertPercentStr(BigDecimal percent,Integer digits){ |
|
|
|
if(null == percent) percent = BigDecimal.ZERO; |
|
|
|