订单查询筛选店铺
This commit is contained in:
@@ -72,7 +72,7 @@ public class UPpPackageController {
|
|||||||
*/
|
*/
|
||||||
@GetMapping("/order")
|
@GetMapping("/order")
|
||||||
public CzgResult<Page<PpOrderListVO>> getMyOrderList(GbOrderQueryParam reqVo) {
|
public CzgResult<Page<PpOrderListVO>> getMyOrderList(GbOrderQueryParam reqVo) {
|
||||||
return CzgResult.success(ppPackageOrderService.queryOrderList(null, StpKit.USER.getLoginIdAsLong(), reqVo));
|
return CzgResult.success(ppPackageOrderService.queryOrderList(reqVo.getShopId(), StpKit.USER.getLoginIdAsLong(), reqVo));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -17,10 +17,10 @@
|
|||||||
left join tb_user_info u on o.user_id = u.id
|
left join tb_user_info u on o.user_id = u.id
|
||||||
where 1=1
|
where 1=1
|
||||||
<if test="shopId != null">
|
<if test="shopId != null">
|
||||||
and o.shop_id = #{shopId} and o.status != 'ing'
|
and o.shop_id = #{shopId}
|
||||||
</if>
|
</if>
|
||||||
<if test="userId != null">
|
<if test="userId != null">
|
||||||
and o.user_id = #{userId}
|
and o.user_id = #{userId} and o.status != 'ing'
|
||||||
</if>
|
</if>
|
||||||
<if test="param.orderNo != null">
|
<if test="param.orderNo != null">
|
||||||
and o.order_no = #{param.orderNo}
|
and o.order_no = #{param.orderNo}
|
||||||
|
|||||||
Reference in New Issue
Block a user