Commit 7e4b6133 authored by wzp's avatar wzp

修改bug

parent 30d83558
......@@ -168,13 +168,12 @@ public class TBoardStatisticServiceImpl extends ServiceImpl<TBoardStatisticMappe
@Override
public List getBoardCityPlayTotalList(String areaCode, String orgCode) {
// 获取省份信息
if (areaCode.equals("110000")||areaCode.equals("120000")||areaCode.equals("310000")||areaCode.equals("500000")){
areaCode=areaCode.substring(0,2)+"0100";
}
QueryWrapper qw = new QueryWrapper();
qw.eq("parent_id", areaCode);
List<TArea> provlist = areaService.list(qw);
provlist.stream().forEach(l -> l.setName(l.getName().replace("省", "").replace("市", "").
replace("自治区", "").replace("特别行政区", "").replace("壮族", "").replace("回族", "").replace("维吾尔", "")));
// 遍历省份,统计各省播放量
TBoardSurvey survey = new TBoardSurvey();
String dateStr = DateUtil.getCurrentDate("yyyyMM");
survey.setStatisticDate(dateStr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment