瀏覽代碼

Merge branch '2022_cloud_activity' of http://git.dayaedu.com/yonge/mec into master_saas

zouxuan 3 年之前
父節點
當前提交
024aa68a72
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/MemberRankSettingServiceImpl.java

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/MemberRankSettingServiceImpl.java

@@ -441,9 +441,9 @@ public class MemberRankSettingServiceImpl extends BaseServiceImpl<Integer, Membe
                 cloudTeacherOrder.setStatus(1);
                 cloudTeacherOrder.setType(activity.getPeriodEnum());
                 if(activity.getGiveCouponNum() == 1 && activity.getPeriodEnum() == PeriodEnum.MONTH){
-                    cloudTeacherOrder.setTime(activity.getMemberTime() * studentPaymentOrder.getActivityBuyNum() * 2);
+                    cloudTeacherOrder.setTime(studentPaymentOrder.getActivityBuyNum() * 2);
                 }else {
-                    cloudTeacherOrder.setTime(activity.getMemberTime() * studentPaymentOrder.getActivityBuyNum());
+                    cloudTeacherOrder.setTime(studentPaymentOrder.getActivityBuyNum());
                 }
                 cloudTeacherOrder.setStudentId(studentPaymentOrder.getUserId());
                 cloudTeacherOrder.setOrganId(studentPaymentOrder.getOrganId());