构造空数组,防止null
This commit is contained in:
parent
2040b57fb6
commit
7c3e025d76
@ -259,7 +259,11 @@ public class ShopOrderReturnServiceImpl extends BaseServiceImpl<ShopOrderReturnM
|
||||
}
|
||||
return mapList;
|
||||
}
|
||||
return shopOrderReturnMapper.statisticCount(end, days);
|
||||
List<Map<String, Object>> statisticList=shopOrderReturnMapper.statisticCount(end, days);
|
||||
if(null==statisticList){
|
||||
statisticList=new ArrayList<>();
|
||||
}
|
||||
return statisticList;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user