提交 3b7f97ca authored 作者: zhengfg's avatar zhengfg

修改bug

上级 09a6fa5b
...@@ -21,7 +21,7 @@ public class TbCfCouponEntity implements Serializable { ...@@ -21,7 +21,7 @@ public class TbCfCouponEntity implements Serializable {
*优惠券发放表id *优惠券发放表id
*/ */
@ApiModelProperty("优惠券发放表id") @ApiModelProperty("优惠券发放表id")
private String couponIssuetableId; private String issCouponId;
/** /**
* 优惠券id * 优惠券id
*/ */
...@@ -415,16 +415,12 @@ public class TbCfCouponEntity implements Serializable { ...@@ -415,16 +415,12 @@ public class TbCfCouponEntity implements Serializable {
public Date getUpdateTime() { public Date getUpdateTime() {
return updateTime; return updateTime;
} }
/**
* 获取:优惠券发放表id public String getIssCouponId() {
*/ return issCouponId;
public String getCouponIssuetableId() {
return couponIssuetableId;
} }
/**
* 设置:优惠券发放表id public void setIssCouponId(String issCouponId) {
*/ this.issCouponId = issCouponId;
public void setCouponIssuetableId(String couponIssuetableId) {
this.couponIssuetableId = couponIssuetableId;
} }
} }
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<result property="updateUserId" column="update_user_id"/> <result property="updateUserId" column="update_user_id"/>
<result property="updateTime" column="update_time"/> <result property="updateTime" column="update_time"/>
<result property="couponVaild" column="coupon_vaild"/> <result property="couponVaild" column="coupon_vaild"/>
<result property="issCouponId" column="coupon_issuetable_id"/>
</resultMap> </resultMap>
<select id="queryObject" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"> <select id="queryObject" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity">
...@@ -197,7 +198,7 @@ ...@@ -197,7 +198,7 @@
<!--查询用户所有有效的优惠券--> <!--查询用户所有有效的优惠券-->
<select id="queryUserAvailableCoupon" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"> <select id="queryUserAvailableCoupon" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity">
select select
t3.coupon_issuetable_id, t3.coupon_issuetable_id issCouponId,
t2.coupon_id, t2.coupon_id,
t2.coupon_category_id, t2.coupon_category_id,
t4.coupon_category_name, t4.coupon_category_name,
...@@ -237,7 +238,7 @@ ...@@ -237,7 +238,7 @@
<!--获取已使用的优惠券--> <!--获取已使用的优惠券-->
<select id="queryUserUsedCoupon" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"> <select id="queryUserUsedCoupon" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity">
select select
t3.coupon_issuetable_id, t3.coupon_issuetable_id issCouponId,
t2.coupon_id, t2.coupon_id,
t2.coupon_category_id, t2.coupon_category_id,
t4.coupon_category_name, t4.coupon_category_name,
...@@ -270,7 +271,7 @@ ...@@ -270,7 +271,7 @@
<!--获取已过期的优惠券--> <!--获取已过期的优惠券-->
<select id="queryUserExpiredoupon" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity"> <select id="queryUserExpiredoupon" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity">
select select
t3.coupon_issuetable_id, t3.coupon_issuetable_id issCouponId,
t2.coupon_id, t2.coupon_id,
t2.coupon_category_id, t2.coupon_category_id,
t4.coupon_category_name, t4.coupon_category_name,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论