瀏覽代碼

修改字段取错问题

Pq 3 月之前
父節點
當前提交
b921868f9b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      student/src/main/java/com/cooleshow/student/ui/course/GroupCourseDetailActivity.java

+ 2 - 2
student/src/main/java/com/cooleshow/student/ui/course/GroupCourseDetailActivity.java

@@ -325,9 +325,9 @@ public class GroupCourseDetailActivity extends BaseMVPActivity<ActivityGroupCour
             //进入教室
             if (mInfoBean != null) {
                 if (mConfigBean != null) {
-                    boolean lessThanTargetTime = TimeUtils.isLessThanTargetTime(mConfigBean.getPianoStartTime(), mInfoBean.startTime);
+                    boolean lessThanTargetTime = TimeUtils.isLessThanTargetTime(mConfigBean.getGroupStartTime(), mInfoBean.startTime);
                     if (!lessThanTargetTime) {
-                        ToastUtil.getInstance().showShort("课程还未开始,请在上课前" + mConfigBean.getPianoStartTime() + "分钟进入");
+                        ToastUtil.getInstance().showShort("课程还未开始,请在上课前" + mConfigBean.getGroupStartTime() + "分钟进入");
                         return;
                     }
                     OpenClassRoomHelper.start(this, mCourseId, mInfoBean.subjectName);