You've already forked FrameTour-BE
订单查询
This commit is contained in:
@@ -33,16 +33,6 @@ public class OrderReqQuery extends BaseQueryParameterReq {
|
||||
*/
|
||||
@ApiModelProperty("微信openId")
|
||||
private Long openId;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
@ApiModelProperty("价格")
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 实际支付价格
|
||||
*/
|
||||
@ApiModelProperty("实际支付价格")
|
||||
private BigDecimal payPrice;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
@@ -244,7 +244,7 @@
|
||||
left join scenic s on o.scenic_id = s.id
|
||||
<where>
|
||||
<if test="id!= null ">
|
||||
and o.id = #{id}
|
||||
and o.id LIKE CONCAT('%',#{id},'%')
|
||||
</if>
|
||||
<if test="scenicId != null">
|
||||
and o.scenic_id = #{scenicId}
|
||||
@@ -253,26 +253,17 @@
|
||||
and m.nickname like concat('%',#{memberNickname},'%')
|
||||
</if>
|
||||
<if test="memberId != null">
|
||||
and o.member_id like concat('%',#{memberId},'%')
|
||||
and (o.member_id like concat('%',#{memberId},'%') or m.uid like concat('%',#{memberId},'%'))
|
||||
</if>
|
||||
<if test="memberUid!= null">
|
||||
and m.uid = #{memberUid}
|
||||
</if>
|
||||
<if test="price!= null ">
|
||||
and o.price = #{price}
|
||||
</if>
|
||||
<if test="payPrice!= null ">
|
||||
and pay_price = #{payPrice}
|
||||
</if>
|
||||
<if test="remark!= null and remark!= ''">
|
||||
and remark like concat('%',#{remark},'%')
|
||||
</if>
|
||||
<if test="brokerId!= null ">
|
||||
and o.broker_id = #{brokerId}
|
||||
</if>
|
||||
<if test="promoCode!= null and promoCode!= ''">
|
||||
and o.promo_code like concat('%',#{promoCode},'%')
|
||||
</if>
|
||||
<if test="refundReason!= null and refundReason!= ''">
|
||||
and refund_reason like concat('%',#{refundReason},'%')
|
||||
</if>
|
||||
@@ -338,12 +329,6 @@
|
||||
<if test="memberUid!= null">
|
||||
and m.uid = #{memberUid}
|
||||
</if>
|
||||
<if test="price!= null ">
|
||||
and o.price = #{price}
|
||||
</if>
|
||||
<if test="payPrice!= null ">
|
||||
and pay_price = #{payPrice}
|
||||
</if>
|
||||
<if test="remark!= null and remark!= ''">
|
||||
and remark like concat('%',#{remark},'%')
|
||||
</if>
|
||||
@@ -450,12 +435,6 @@
|
||||
<if test="memberUid!= null">
|
||||
and m.uid = #{memberUid}
|
||||
</if>
|
||||
<if test="price!= null ">
|
||||
and o.price = #{price}
|
||||
</if>
|
||||
<if test="payPrice!= null ">
|
||||
and pay_price = #{payPrice}
|
||||
</if>
|
||||
<if test="remark!= null and remark!= ''">
|
||||
and remark like concat('%',#{remark},'%')
|
||||
</if>
|
||||
|
Reference in New Issue
Block a user