|
|
@@ -2,6 +2,7 @@ package com.fs.company.controller.qw;
|
|
|
|
|
|
import com.fs.common.core.controller.BaseController;
|
|
|
import com.fs.common.core.domain.AjaxResult;
|
|
|
+import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.core.page.TableDataInfo;
|
|
|
import com.fs.common.exception.CustomException;
|
|
|
import com.fs.common.utils.poi.ExcelUtil;
|
|
|
@@ -18,6 +19,7 @@ import com.fs.his.service.IFsDoctorPatientService;
|
|
|
import com.fs.his.service.IFsPrescribeService;
|
|
|
import com.fs.hisStore.param.FsCompanyCustomerOrderParam;
|
|
|
import com.fs.hisStore.service.IFsUserInformationCollectionService;
|
|
|
+import com.fs.hisStore.service.impl.FsUserInformationCollectionServiceImpl;
|
|
|
import com.fs.hisStore.vo.FsStoreOrderVO;
|
|
|
import com.fs.hisStore.vo.FsUserInformationCollectionOverviewVo;
|
|
|
import com.fs.qw.domain.FsCompanyCustomer;
|
|
|
@@ -63,6 +65,9 @@ public class FsCompanyCustomerController extends BaseController {
|
|
|
@Autowired
|
|
|
private IFsDoctorPatientService fsDoctorPatientService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private FsUserInformationCollectionServiceImpl informationCollectionService;
|
|
|
+
|
|
|
/**
|
|
|
* 查询客户列表
|
|
|
*/
|
|
|
@@ -267,7 +272,7 @@ public class FsCompanyCustomerController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 销售端-查询客户订单列表信息
|
|
|
+ * 查询客户信息你表订单列表信息
|
|
|
* */
|
|
|
@ApiOperation("查询客户订单列表信息")
|
|
|
@GetMapping("/getOrderList")
|
|
|
@@ -281,4 +286,14 @@ public class FsCompanyCustomerController extends BaseController {
|
|
|
List<FsStoreOrderVO> list = fsCompanyCustomerService.selectStoreOrderScrmByCompanyCustomerParam(customerOrderParam);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 生成制单二维码
|
|
|
+ * */
|
|
|
+ @GetMapping("/getQRCode/{orderId}")
|
|
|
+ public R getQRCode(@PathVariable("orderId") Long orderId){
|
|
|
+ //TODO 后续从配置获取
|
|
|
+ String appId="wx50bcb040b4963a7e";
|
|
|
+ return informationCollectionService.getCustomerGenerateQRCode(orderId,appId);
|
|
|
+ }
|
|
|
}
|