feat: improve wechat order query coverage
This commit is contained in:
@@ -547,6 +547,11 @@ public class PlayOrderInfoServiceImpl extends ServiceImpl<PlayOrderInfoMapper, P
|
||||
public IPage<PlayCustomOrderListReturnVo> customSelectOrderInfoByPage(PlayCustomOrderInfoQueryVo vo) {
|
||||
MPJLambdaWrapper<PlayOrderInfoEntity> lambdaQueryWrapper = getCommonOrderQueryVo(
|
||||
ConvertUtil.entityToVo(vo, PlayOrderInfoEntity.class));
|
||||
if (StringUtils.isBlank(vo.getOrderType())) {
|
||||
lambdaQueryWrapper.notIn(PlayOrderInfoEntity::getOrderType,
|
||||
OrderConstant.OrderType.RECHARGE.getCode(),
|
||||
OrderConstant.OrderType.WITHDRAWAL.getCode());
|
||||
}
|
||||
IPage<PlayCustomOrderListReturnVo> page = this.baseMapper.selectJoinPage(
|
||||
new Page<>(vo.getPageNum(), vo.getPageSize()), PlayCustomOrderListReturnVo.class, lambdaQueryWrapper);
|
||||
// 获取当前顾客所有订单评价信息,将订单评价信息转化为 map<订单ID,订单ID>的结构
|
||||
|
||||
@@ -25,7 +25,8 @@ public class PlayCustomOrderDetailsReturnVo {
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 订单状态【0:1:2:3:4】 0:已下单(待接单) 1:已接单(待开始) 2:已开始(服务中) 3:已完成 4:已取消
|
||||
* 订单状态【0:1:2:3:4:5】
|
||||
* 0:已下单(待接单) 1:已接单(待开始) 2:已开始(服务中) 3:已完成 4:已取消 5:已撤销
|
||||
*/
|
||||
private String orderStatus;
|
||||
|
||||
|
||||
@@ -16,14 +16,15 @@ public class PlayCustomOrderInfoQueryVo extends BasePageEntity {
|
||||
|
||||
private String id;
|
||||
/**
|
||||
* 订单状态【0:1:2:3:4】 0:已下单 1:已接单 2:已开始 3:已完成 4:已取消
|
||||
* 订单状态【0:1:2:3:4:5】
|
||||
* 0:已下单 1:已接单 2:已开始 3:已完成 4:已取消 5:已撤销
|
||||
*/
|
||||
private String orderStatus;
|
||||
|
||||
/**
|
||||
* 订单类型【0:充值订单;1:提现订单;2:普通订单】
|
||||
* 订单类型(为空时默认排除充值/提现)
|
||||
*/
|
||||
private String orderType = "2";
|
||||
private String orderType;
|
||||
|
||||
/**
|
||||
* 下单类型(0:指定单,1:随机单。2:打赏单)
|
||||
|
||||
@@ -25,7 +25,8 @@ public class PlayCustomOrderListReturnVo {
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 订单状态【0:1:2:3:4】 0:已下单(待接单) 1:已接单(待开始) 2:已开始(服务中) 3:已完成 4:已取消
|
||||
* 订单状态【0:1:2:3:4:5】
|
||||
* 0:已下单(待接单) 1:已接单(待开始) 2:已开始(服务中) 3:已完成 4:已取消 5:已撤销
|
||||
*/
|
||||
private String orderStatus;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user