Skip to content

Commit

Permalink
缴费赠送优惠券 功能开发完成
Browse files Browse the repository at this point in the history
  • Loading branch information
928255095 committed Nov 24, 2022
1 parent 7a15a9f commit ead504f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Expand Up @@ -20,6 +20,7 @@ public class CouponPropertyUserDto extends PageDto implements Serializable {

private String couponName;
private String toType;
private String toTypeName;
private String validityDay;
private String couponId;
private String userName;
Expand Down Expand Up @@ -150,4 +151,12 @@ public String getStatusCd() {
public void setStatusCd(String statusCd) {
this.statusCd = statusCd;
}

public String getToTypeName() {
return toTypeName;
}

public void setToTypeName(String toTypeName) {
this.toTypeName = toTypeName;
}
}
Expand Up @@ -20,8 +20,9 @@
select t.coupon_name,t.coupon_name couponName,t.to_type,t.to_type toType,t.validity_day,t.validity_day
validityDay,t.status_cd,t.status_cd statusCd,t.coupon_id,t.coupon_id couponId,t.user_name,t.user_name
userName,t.user_id,t.user_id couponUserId,t.cpp_id,t.cpp_id cppId,t.tel,t.state,t.stock,t.community_id,t.community_id
communityId,t.value
communityId,t.value,td.`name` toTypeName
from coupon_property_user t
left join t_dict td on td.status_cd = t.to_type and td.table_name = 'coupon_property_pool' and td.table_columns = 'to_type'
where 1 =1
<if test="couponName !=null and couponName != ''">
and t.coupon_name= #{couponName}
Expand Down

0 comments on commit ead504f

Please sign in to comment.