删除realName相关
This commit is contained in:
parent
7d8483b6e4
commit
06ebc1d05e
@ -8,7 +8,6 @@
|
||||
<result column="member_id" property="memberId"/>
|
||||
<result column="nickname" property="memberNickname"/>
|
||||
<result column="uid" property="memberUid"/>
|
||||
<result column="real_name" property="memberRealName"/>
|
||||
<result column="openid" property="openId"/>
|
||||
<result column="price" property="price"/>
|
||||
<result column="slash_price" property="slashPrice"/>
|
||||
@ -32,7 +31,6 @@
|
||||
<result column="member_id" property="memberId"/>
|
||||
<result column="nickname" property="memberNickname"/>
|
||||
<result column="uid" property="memberUid"/>
|
||||
<result column="real_name" property="memberRealName"/>
|
||||
<result column="openid" property="openId"/>
|
||||
<result column="price" property="price"/>
|
||||
<result column="slash_price" property="slashPrice"/>
|
||||
@ -229,7 +227,7 @@
|
||||
delete from `order` where id = #{id}
|
||||
</delete>
|
||||
<select id="list" resultMap="PCBaseResultListMap">
|
||||
select o.id, o.scenic_id, s.name as scenic_name, o.member_id,m.nickname, m.uid,m.real_name, o.type, o.openid, o.face_id, f.face_url, o.price, pay_price, remark, o.broker_id, o.promo_code,
|
||||
select o.id, o.scenic_id, s.name as scenic_name, o.member_id,m.nickname, m.uid, o.type, o.openid, o.face_id, f.face_url, o.price, pay_price, remark, o.broker_id, o.promo_code,
|
||||
o.coupon_price,
|
||||
refund_reason, refund_status, o.`status`, refund_at, pay_at, cancel_at, o.create_at
|
||||
from `order` AS o
|
||||
@ -249,9 +247,6 @@
|
||||
<if test="memberUid!= null">
|
||||
and m.uid = #{memberUid}
|
||||
</if>
|
||||
<if test="memberRealName!= null and memberRealName!=''">
|
||||
and m.real_name like concat('%',#{memberRealName},'%')
|
||||
</if>
|
||||
<if test="price!= null ">
|
||||
and o.price = #{price}
|
||||
</if>
|
||||
@ -304,7 +299,7 @@
|
||||
order by o.create_at desc
|
||||
</select>
|
||||
<select id="listDetail" resultMap="PCBaseResultMap">
|
||||
select o.id, o.scenic_id, s.name as scenic_name, o.member_id,m.nickname, m.uid,m.real_name, o.type, o.openid, o.face_id, f.face_url, o.price, pay_price, remark, o.broker_id, o.promo_code,
|
||||
select o.id, o.scenic_id, s.name as scenic_name, o.member_id,m.nickname, m.uid, o.type, o.openid, o.face_id, f.face_url, o.price, pay_price, remark, o.broker_id, o.promo_code,
|
||||
o.coupon_price,
|
||||
refund_reason, refund_status, o.`status`, refund_at, pay_at, cancel_at, o.create_at
|
||||
from `order` AS o
|
||||
@ -324,9 +319,6 @@
|
||||
<if test="memberUid!= null">
|
||||
and m.uid = #{memberUid}
|
||||
</if>
|
||||
<if test="memberRealName!= null and memberRealName!=''">
|
||||
and m.real_name like concat('%',#{memberRealName},'%')
|
||||
</if>
|
||||
<if test="price!= null ">
|
||||
and o.price = #{price}
|
||||
</if>
|
||||
@ -382,7 +374,7 @@
|
||||
select o.id, o.scenic_id, s.name as scenic_name, o.member_id, o.type, o.openid, o.face_id, f.face_url, o.price, o.pay_price, o.remark, o.broker_id, o.promo_code, o.refund_reason,
|
||||
o.coupon_price,
|
||||
o.refund_status, o.status, o.create_at, o.update_at, o.pay_at, o.cancel_at, o.refund_at,
|
||||
m.nickname, m.uid , m.real_name
|
||||
m.nickname, m.uid
|
||||
from `order` o
|
||||
left join face f on o.face_id = f.id
|
||||
left join member m on m.id = o.member_id
|
||||
@ -420,7 +412,7 @@
|
||||
where o.id = #{id}
|
||||
</select>
|
||||
<select id="refundList" resultType="com.ycwl.basic.model.pc.order.resp.OrderRespVO">
|
||||
select o.id, o.scenic_id, s.name as scenic_name, o.member_id,m.nickname,m.uid ,m.real_name, o.type, o.openid, o.price, pay_price, remark, o.broker_id, o.promo_code,
|
||||
select o.id, o.scenic_id, s.name as scenic_name, o.member_id,m.nickname,m.uid as memberUid , o.type, o.openid, o.price, pay_price, remark, o.broker_id, o.promo_code,
|
||||
refund_reason, refund_status, o.`status`, refund_at, pay_at, cancel_at, o.create_at
|
||||
from `order` AS o
|
||||
left join member m on o.member_id = m.id
|
||||
@ -439,9 +431,6 @@
|
||||
<if test="memberUid!= null">
|
||||
and m.uid = #{memberUid}
|
||||
</if>
|
||||
<if test="memberRealName!= null and memberRealName!=''">
|
||||
and m.real_name like concat('%',#{memberRealName},'%')
|
||||
</if>
|
||||
<if test="price!= null ">
|
||||
and o.price = #{price}
|
||||
</if>
|
||||
|
Loading…
x
Reference in New Issue
Block a user