|
@@ -24,7 +24,7 @@
|
|
|
</association>
|
|
|
</resultMap>
|
|
|
|
|
|
- <select id="listExpiredUserCoupons" resultMap="com.chelvc.cloud.vehicle.client.dto.UserCouponDTO">
|
|
|
+ <select id="listExpiredUserCoupons" resultType="com.chelvc.cloud.vehicle.client.dto.UserCouponDTO">
|
|
|
select *
|
|
|
from user_coupon u
|
|
|
where u.user_id = #{userId}
|
|
@@ -51,7 +51,7 @@
|
|
|
limit #{param.size}
|
|
|
</select>-->
|
|
|
|
|
|
- <select id="listUserCoupons" resultMap="com.chelvc.cloud.vehicle.client.dto.UserCouponDTO">
|
|
|
+ <select id="listUserCoupons" resultType="com.chelvc.cloud.vehicle.client.dto.UserCouponDTO">
|
|
|
select *
|
|
|
from user_coupon u
|
|
|
where u.user_id = #{userId}
|
|
@@ -75,7 +75,7 @@
|
|
|
limit #{param.size}
|
|
|
</select>-->
|
|
|
|
|
|
- <select id="listUserCanUseCoupons" resultMap="com.chelvc.cloud.vehicle.client.dto.UserCouponDTO">
|
|
|
+ <select id="listUserCanUseCoupons" resultType="com.chelvc.cloud.vehicle.client.dto.UserCouponDTO">
|
|
|
select *
|
|
|
from `user_coupon` ucn
|
|
|
<where>
|