|
|
|
@ -146,7 +146,7 @@ public class ScreenPublicDataServiceImpl extends BaseServiceImpl<ScreenPublicDat |
|
|
|
@Override |
|
|
|
public Result getOrgrankdata(String yearMonth) { |
|
|
|
// 如果统计月份为空,则统计上个月的数据
|
|
|
|
yearMonth = StringUtils.isEmpty(yearMonth) ? DateUtils.formatYearMonth(DateUtils.addDateMonths(new Date(),-1)) : yearMonth; |
|
|
|
yearMonth = StringUtils.isEmpty(yearMonth) ? DateUtils.formatYearMonth2(DateUtils.addDateMonths(new Date(),-1)) : yearMonth; |
|
|
|
List<OrgrankdataResultDTO> list = baseDao.getOrgrankdata(yearMonth); |
|
|
|
// 将list转换为json格式
|
|
|
|
if(list != null && list.size()>0){ |
|
|
|
@ -231,7 +231,7 @@ public class ScreenPublicDataServiceImpl extends BaseServiceImpl<ScreenPublicDat |
|
|
|
@Override |
|
|
|
public Result getUserjoin(String yearMonth) { |
|
|
|
// 如果统计月份为空,则统计上个月的数据
|
|
|
|
yearMonth = StringUtils.isEmpty(yearMonth) ? DateUtils.formatYearMonth(DateUtils.addDateMonths(new Date(),-1)) : yearMonth; |
|
|
|
yearMonth = StringUtils.isEmpty(yearMonth) ? DateUtils.formatYearMonth2(DateUtils.addDateMonths(new Date(),-1)) : yearMonth; |
|
|
|
List<UserjoinResultDTO> list = baseDao.getUserjoin(yearMonth); |
|
|
|
// 将list转换为json格式
|
|
|
|
if(list != null && list.size()>0) { |
|
|
|
@ -275,7 +275,7 @@ public class ScreenPublicDataServiceImpl extends BaseServiceImpl<ScreenPublicDat |
|
|
|
@Override |
|
|
|
public Result getGovernrankdata(String yearMonth) { |
|
|
|
// 如果统计月份为空,则统计上个月的数据
|
|
|
|
yearMonth = StringUtils.isEmpty(yearMonth) ? DateUtils.formatYearMonth(DateUtils.addDateMonths(new Date(),-1)) : yearMonth; |
|
|
|
yearMonth = StringUtils.isEmpty(yearMonth) ? DateUtils.formatYearMonth2(DateUtils.addDateMonths(new Date(),-1)) : yearMonth; |
|
|
|
List<GovernrankdataResultDTO> list = baseDao.getGovernrankdata(yearMonth); |
|
|
|
// 将list转换为json格式
|
|
|
|
if(list != null && list.size()>0){ |
|
|
|
|