liujc 2 years ago
parent
commit
1b7acbe93c

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -436,7 +436,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
             courseSchedule.setName(vipGroupApplyBaseInfoDto.getName());
             courseSchedule.setOrganId(vipGroupApplyBaseInfoDto.getOrganId());
         });
-        if (vipGroupApplyBaseInfoDto.getStatus().equals(VipGroupStatusEnum.PROGRESS)) {
+        if (vipGroup1.getStatus().equals(VipGroupStatusEnum.PROGRESS)) {
             // 修改课程信息
             // 修改直播间标题
 

+ 6 - 0
mec-biz/src/main/resources/config/mybatis/VipGroupMapper.xml

@@ -273,6 +273,9 @@
             <if test="paymentExpireDate != null">
                 payment_expire_date_ = #{paymentExpireDate},
             </if>
+            <if test="name != null">
+                name_ = #{name},
+            </if>
             <if test="userId != null">
                 user_id_ = #{userId},
             </if>
@@ -331,6 +334,9 @@
             <if test="courseSchedulesJson!=null">
                 course_schedules_json_=#{courseSchedulesJson},
             </if>
+            <if test="liveConfigJson!=null">
+                live_config_json_=#{liveConfigJson},
+            </if>
             <if test="studentIdList!=null">
                 student_id_list_=#{studentIdList},
             </if>