Commit cef7c88a by 查志伟

Merge branch '20211102-支持查询会员合并后的订单-zhiwei.zha' into qa

parents 750cfbf0 ef32680c
......@@ -1028,6 +1028,7 @@ public class OrderAdapter {
queryOrdersDto.setPageNumber(queryOrderDto.getPageNumber() != null ? queryOrderDto.getPageNumber() : 1);
queryOrdersDto.setStartDate(queryOrderDto.getStartDate());
queryOrdersDto.setEndDate(queryOrderDto.getEndDate());
queryOrdersDto.setUserId(memberId);
if (OrderChannelType.IWC.getCode().equals(channelType)) {
queryOrdersDto.setSource(new String[]{"meals"});
......
......@@ -810,6 +810,8 @@ public class OrderServiceImpl implements Orderservice {
// 查询支持查询会员合并后的所有订单
List<String> memberIds = memberInfoManager.getMemberAllIds(partnerId, userId);
queryOrdersRequest2.setUserIds(memberIds);
// clean userId value,use userIds field
queryOrdersRequest2.setUserId(null);
if (Objects.equals(QueryOrderStatus.REFUND_BILL.getCode(), queryOrderVo.getQueryOrderStatus())) {
queryOrdersRequest2.setPayStatus(new Integer[]{3});//发票其他订单查询已退款
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment