|
@@ -97,7 +97,9 @@ public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailDao, OrderDet
|
|
@Override
|
|
@Override
|
|
public PageInfo<OrderDetail> findAfterSaleApplyList(Integer uid, String orderNo, PageParamRequest pageParamRequest) {
|
|
public PageInfo<OrderDetail> findAfterSaleApplyList(Integer uid, String orderNo, PageParamRequest pageParamRequest) {
|
|
Page<OrderDetail> page = PageHelper.startPage(pageParamRequest.getPage(), pageParamRequest.getLimit());
|
|
Page<OrderDetail> page = PageHelper.startPage(pageParamRequest.getPage(), pageParamRequest.getLimit());
|
|
- List<OrderDetail> orderDetailList = dao.findAfterSaleApplyList(uid, orderNo);
|
|
|
|
|
|
+ User user = userService.getById(uid);
|
|
|
|
+ Integer isEnterpriseUser = user.getIsEnterpriseUser();
|
|
|
|
+ List<OrderDetail> orderDetailList = dao.findAfterSaleApplyList(uid, orderNo,isEnterpriseUser);
|
|
return CommonPage.copyPageInfo(page, orderDetailList);
|
|
return CommonPage.copyPageInfo(page, orderDetailList);
|
|
}
|
|
}
|
|
|
|
|