|
@@ -12,6 +12,8 @@ import com.fs.his.service.IFsStoreOrderService;
|
|
|
import com.fs.his.service.IFsStorePaymentService;
|
|
|
import com.fs.his.service.IFsStoreProductService;
|
|
|
import com.fs.his.service.IFsUserService;
|
|
|
+import com.fs.qw.domain.QwIpadServer;
|
|
|
+import com.fs.qw.service.IQwIpadServerService;
|
|
|
import com.fs.statis.StatisticsRedisConstant;
|
|
|
import com.fs.statis.dto.*;
|
|
|
import com.fs.statis.mapper.ConsumptionBalanceMapper;
|
|
@@ -75,6 +77,9 @@ public class StatisticsServiceImpl implements IStatisticsService {
|
|
|
@Autowired
|
|
|
private FsCourseWatchLogMapper fsCourseWatchLogMapper;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private IQwIpadServerService qwIpadServerService;
|
|
|
+
|
|
|
@Override
|
|
|
public void dataOverviewTask() {
|
|
|
DealerAggregatedDTO dealerAggregatedDTO = this.dealerAggregated();
|
|
@@ -684,6 +689,7 @@ public class StatisticsServiceImpl implements IStatisticsService {
|
|
|
Long dayPaymentCount=paymentService.selectFsStorePaymentCount(1,null);
|
|
|
Long productCount=productService.selectFsStoreProductCount(0);
|
|
|
Long dayProductCount=productService.selectFsStoreProductCount(1);
|
|
|
+ QwIpadServer padInfo=qwIpadServerService.getPadInfo();
|
|
|
DealerAggregatedDTO dealerAggregatedDTO = consumptionBalanceMapper.dealerAggregated();
|
|
|
dealerAggregatedDTO.setTodayIncreaseUserNum(dayUserCount);
|
|
|
dealerAggregatedDTO.setOrderTotalNum(storeOrderCount);
|
|
@@ -692,6 +698,8 @@ public class StatisticsServiceImpl implements IStatisticsService {
|
|
|
dealerAggregatedDTO.setRecvTodayNum(dayPaymentCount);
|
|
|
dealerAggregatedDTO.setGoodsTotalNum(productCount);
|
|
|
dealerAggregatedDTO.setTodayGoodsNum(dayProductCount);
|
|
|
+ dealerAggregatedDTO.setPadTotalNum(padInfo.getTotalCount());
|
|
|
+ dealerAggregatedDTO.setPadUsedNum(padInfo.getCount());
|
|
|
return dealerAggregatedDTO;
|
|
|
}
|
|
|
|