解决空数据导致的前端不显示问题
This commit is contained in:
parent
bab3008b67
commit
404064f4c2
@ -253,7 +253,11 @@ public class ShopOrderReturnServiceImpl extends BaseServiceImpl<ShopOrderReturnM
|
||||
public List<Map<String, Object>> statisticCount(Date end, int days) {
|
||||
Integer store_id = Convert.toInt(getCurrentUser().getStore_id());
|
||||
if (ObjectUtil.isNotNull(store_id)) {
|
||||
return shopOrderReturnMapper.statisticCountSeller(end, days, store_id);
|
||||
List<Map<String, Object>> mapList= shopOrderReturnMapper.statisticCountSeller(end, days, store_id);
|
||||
if(null==mapList){
|
||||
mapList=new ArrayList<>();
|
||||
}
|
||||
return mapList;
|
||||
}
|
||||
return shopOrderReturnMapper.statisticCount(end, days);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user