jk-GitHub-coder 3 jaren geleden
bovenliggende
commit
369c20a7d7

+ 3 - 2
YijiaRestful/src/main/java/com/platform/yijia/pojo/UserCoupon.java

@@ -26,9 +26,10 @@ public class UserCoupon {
 
     //优惠券属性
     private BigDecimal couponThresholdAmt;  //优惠券使用门槛金额;
-    private String couponName;             //优惠券名称
+    private String couponName;              //优惠券名称
     private String oilType;                 //1 柴油,2 汽油;
-    private BigDecimal couponAmt;               //优惠券优惠金额;
+    private BigDecimal couponAmt;           //优惠券优惠金额;
+    private String couponType;              //优惠券类型
     private String effectiveTimeType;       //有效时间类型: 1,固定时间;2,领取后x天内有效;
     private Date effectiveTimeStart;        //固定时间-有效开始时间;
     private Date effectiveTimeEnd;          //固定时间-有效结束时间;

+ 1 - 0
YijiaRestful/src/main/resources/mapper/CouponMapper.xml

@@ -398,6 +398,7 @@
         T2.coupon_name,
         T2.coupon_threshold_amt,
         T2.coupon_amt,
+        T2.coupon_type,
         T2.effective_time_type,
         T2.effective_time_start,
         T2.effective_time_end,