|
@@ -333,7 +333,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderDao, Order> implements Or
|
|
LambdaQueryWrapper<Order> lqw = Wrappers.lambdaQuery();
|
|
LambdaQueryWrapper<Order> lqw = Wrappers.lambdaQuery();
|
|
lqw.select(Order::getOrderNo, Order::getUid, Order::getPayPrice, Order::getPayType, Order::getPaid, Order::getStatus, Order::getRefundStatus,
|
|
lqw.select(Order::getOrderNo, Order::getUid, Order::getPayPrice, Order::getPayType, Order::getPaid, Order::getStatus, Order::getRefundStatus,
|
|
Order::getIsUserDel, Order::getCancelStatus, Order::getType, Order::getCreateTime, Order::getLevel,
|
|
Order::getIsUserDel, Order::getCancelStatus, Order::getType, Order::getCreateTime, Order::getLevel,
|
|
- Order::getIsRemit, Order::getAccount, Order::getQyName);
|
|
|
|
|
|
+ Order::getIsRemit, Order::getAccount, Order::getQyName,Order::getProcureUnit,Order::getQyId);
|
|
lqw.eq(Order::getMerId, systemAdmin.getMerId());
|
|
lqw.eq(Order::getMerId, systemAdmin.getMerId());
|
|
//这个方法查询不是属于积分支付的订单 不是
|
|
//这个方法查询不是属于积分支付的订单 不是
|
|
// lqw.ne(Order::getIsIntegral, 1).or().isNull(Order::getIsIntegral);
|
|
// lqw.ne(Order::getIsIntegral, 1).or().isNull(Order::getIsIntegral);
|
|
@@ -353,7 +353,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderDao, Order> implements Or
|
|
lqw.like(Order::getOrderNo, URLUtil.decode(request.getOrderNo()));
|
|
lqw.like(Order::getOrderNo, URLUtil.decode(request.getOrderNo()));
|
|
}
|
|
}
|
|
if (StrUtil.isNotBlank(request.getQyName())) {
|
|
if (StrUtil.isNotBlank(request.getQyName())) {
|
|
- lqw.like(Order::getQyName, request.getQyName());
|
|
|
|
|
|
+ lqw.like(Order::getProcureUnit, request.getQyName());
|
|
}
|
|
}
|
|
if (ObjectUtil.isNotNull(request.getType())) {
|
|
if (ObjectUtil.isNotNull(request.getType())) {
|
|
lqw.eq(Order::getType, request.getType());
|
|
lqw.eq(Order::getType, request.getType());
|
|
@@ -382,6 +382,8 @@ public class OrderServiceImpl extends ServiceImpl<OrderDao, Order> implements Or
|
|
pageResponse.setNickName(userMap.get(e.getUid()).getNickname());
|
|
pageResponse.setNickName(userMap.get(e.getUid()).getNickname());
|
|
pageResponse.setIsLogoff(userMap.get(e.getUid()).getIsLogoff());
|
|
pageResponse.setIsLogoff(userMap.get(e.getUid()).getIsLogoff());
|
|
pageResponse.setIsRemit(e.getIsRemit());
|
|
pageResponse.setIsRemit(e.getIsRemit());
|
|
|
|
+ pageResponse.setQyName(e.getProcureUnit());
|
|
|
|
+ pageResponse.setQyId(e.getQyId());
|
|
// if (e.getIsLineOfCredit()!=null){
|
|
// if (e.getIsLineOfCredit()!=null){
|
|
// if (e.getIsLineOfCredit()==1){
|
|
// if (e.getIsLineOfCredit()==1){
|
|
//换个判断
|
|
//换个判断
|
|
@@ -510,6 +512,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderDao, Order> implements Or
|
|
return dataResponse;
|
|
return dataResponse;
|
|
}).collect(Collectors.toList());
|
|
}).collect(Collectors.toList());
|
|
orderAdminDetailResponse.setOrderDetailList(orderInfoList);
|
|
orderAdminDetailResponse.setOrderDetailList(orderInfoList);
|
|
|
|
+ orderAdminDetailResponse.setCompName(order.getProcureUnit());
|
|
|
|
|
|
// 用户信息
|
|
// 用户信息
|
|
User user = userService.getById(order.getUid());
|
|
User user = userService.getById(order.getUid());
|
|
@@ -738,6 +741,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderDao, Order> implements Or
|
|
return dataResponse;
|
|
return dataResponse;
|
|
}).collect(Collectors.toList());
|
|
}).collect(Collectors.toList());
|
|
response.setOrderDetailList(orderInfoList);
|
|
response.setOrderDetailList(orderInfoList);
|
|
|
|
+ response.setCompName(order.getProcureUnit());
|
|
|
|
|
|
// 用户信息
|
|
// 用户信息
|
|
User user = userService.getById(order.getUid());
|
|
User user = userService.getById(order.getUid());
|