|
@@ -19,9 +19,14 @@ import com.fs.crm.service.ICrmCustomerService;
|
|
|
import com.fs.crm.service.ICrmCustomerVisitService;
|
|
|
import com.fs.crm.vo.CrmCustomerStatisticsVO;
|
|
|
import com.fs.crm.vo.CrmCustomerVisitStatisticsVO;
|
|
|
+import com.fs.his.dto.FsStoreOrderAmountScrmStatsQueryDto;
|
|
|
+import com.fs.his.dto.FsStoreOrderAmountStatsQueryDto;
|
|
|
import com.fs.his.service.IFsStoreAfterSalesService;
|
|
|
import com.fs.his.service.IFsStoreOrderService;
|
|
|
import com.fs.his.service.IFsStorePaymentService;
|
|
|
+import com.fs.his.vo.FsStoreOrderAmountScrmStatsVo;
|
|
|
+import com.fs.his.vo.FsStoreOrderAmountStatsVo;
|
|
|
+import com.fs.hisStore.service.IFsStoreOrderScrmService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -67,6 +72,10 @@ public class CompanyStatisticsController extends BaseController
|
|
|
private ICrmCustomerService crmCustomerService;
|
|
|
@Autowired
|
|
|
private ICrmCustomerVisitService crmCustomerVisitService;
|
|
|
+
|
|
|
+ //app商城订单接口Service
|
|
|
+ @Autowired
|
|
|
+ private IFsStoreOrderScrmService fsStoreOrderScrmService;
|
|
|
@GetMapping("/storeOrder")
|
|
|
public R storeOrder(FsStoreStatisticsParam param)
|
|
|
{
|
|
@@ -724,4 +733,22 @@ public class CompanyStatisticsController extends BaseController
|
|
|
return util.exportExcel(qwIpadTotalVos, "visit");
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取互联网医院订单统计数据
|
|
|
+ * */
|
|
|
+ @GetMapping("/hisOrderCountStats")
|
|
|
+ public AjaxResult getHisOrderCount(FsStoreOrderAmountStatsQueryDto statsQueryDto){
|
|
|
+ FsStoreOrderAmountStatsVo fsStoreOrderAmountStatsVo = storeOrderService.selectFsStoreOrderAmountStats(statsQueryDto);
|
|
|
+ return AjaxResult.success(fsStoreOrderAmountStatsVo);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取App商城订单统计数据
|
|
|
+ * */
|
|
|
+ @GetMapping("/appOrderCountStats")
|
|
|
+ public AjaxResult getAppOrderCount(FsStoreOrderAmountScrmStatsQueryDto statsQueryDto){
|
|
|
+ FsStoreOrderAmountScrmStatsVo scrmStatsVo = fsStoreOrderScrmService.selectFsStoreOrderAmountScrmStats(statsQueryDto);
|
|
|
+ return AjaxResult.success(scrmStatsVo);
|
|
|
+ }
|
|
|
+
|
|
|
}
|