|
|
@@ -16,13 +16,14 @@ import com.fs.his.param.CollectionPhoneParam;
|
|
|
import com.fs.his.param.PrescribePhoneParam;
|
|
|
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.vo.FsStoreOrderVO;
|
|
|
import com.fs.hisStore.vo.FsUserInformationCollectionOverviewVo;
|
|
|
import com.fs.qw.domain.FsCompanyCustomer;
|
|
|
import com.fs.qw.service.IFsCompanyCustomerService;
|
|
|
import com.fs.qw.vo.CompanyUserAndDoctorVO;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
-import com.github.pagehelper.PageInfo;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -253,7 +254,6 @@ public class FsCompanyCustomerController extends BaseController {
|
|
|
fsDoctorPatient.setCompanyUserId(companyUserId);
|
|
|
PageHelper.startPage(fsDoctorPatient.getPageNum(), fsDoctorPatient.getPageSize());
|
|
|
List<FsDoctorPatient> list = fsDoctorPatientService.selectFsDoctorPatientList(fsDoctorPatient);
|
|
|
- PageInfo<FsDoctorPatient> listPageInfo=new PageInfo<>(list);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
@@ -266,4 +266,19 @@ public class FsCompanyCustomerController extends BaseController {
|
|
|
return AjaxResult.success(fsDoctorPatientService.selectFsDoctorPatientById(id));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 销售端-查询客户订单列表信息
|
|
|
+ * */
|
|
|
+ @ApiOperation("查询客户订单列表信息")
|
|
|
+ @GetMapping("/getOrderList")
|
|
|
+ public TableDataInfo getOrderList(FsCompanyCustomerOrderParam customerOrderParam) {
|
|
|
+ LoginUser loginUser = SecurityUtils.getLoginUser();
|
|
|
+ Long companyUserId = loginUser.getUser().getUserId();
|
|
|
+ if (companyUserId == null){
|
|
|
+ throw new CustomException("销售登录信息获取异常");
|
|
|
+ }
|
|
|
+ PageHelper.startPage(customerOrderParam.getPageNum(), customerOrderParam.getPageSize());
|
|
|
+ List<FsStoreOrderVO> list = fsCompanyCustomerService.selectStoreOrderScrmByCompanyCustomerParam(customerOrderParam);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
}
|