|
|
@@ -1,5 +1,6 @@
|
|
|
package com.goafanti.order.service.impl;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.goafanti.common.dao.TOrderNewMapper;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
import com.goafanti.order.bo.*;
|
|
|
@@ -20,6 +21,10 @@ public class OrderStatisticsServiceImpl extends BaseMybatisDao<TOrderNewMapper>
|
|
|
public List<OutOrderSalesSource> orderSalesSource(InputOrderSalesSource in) {
|
|
|
if (in.getSort()==null)in.setSort(0);
|
|
|
if(in.getEndDate()!=null)in.setEndDate(in.getEndDate()+" 23:59:59");
|
|
|
+ if (in.getDeps()!=null){
|
|
|
+ List<String> ls= JSON.parseArray(in.getDeps(),String.class);
|
|
|
+ in.setListDep(ls);
|
|
|
+ }
|
|
|
return tOrderNewMapper.orderSalesSource(in);
|
|
|
}
|
|
|
|