|
@@ -19,6 +19,8 @@ import com.cooleshow.base.constanst.Constants;
|
|
|
import com.cooleshow.base.router.RouterPath;
|
|
|
import com.cooleshow.base.ui.fragment.BaseMVPFragment;
|
|
|
import com.cooleshow.base.utils.TimeUtils;
|
|
|
+import com.cooleshow.base.utils.ToastUtil;
|
|
|
+import com.cooleshow.base.utils.ToastUtils;
|
|
|
import com.cooleshow.chatmodule.utils.helper.ChatHelper;
|
|
|
import com.cooleshow.teacher.R;
|
|
|
import com.cooleshow.teacher.adapter.HomeworkAdapter;
|
|
@@ -98,6 +100,10 @@ public class HomeWorkFragment extends BaseMVPFragment<FragmentHomeworkBinding, H
|
|
|
.navigation();
|
|
|
} else {
|
|
|
//陪练课
|
|
|
+ if(rowsBean.delFlag){
|
|
|
+ //该账号已注销
|
|
|
+ return;
|
|
|
+ }
|
|
|
ARouter.getInstance().build(RouterPath.WorkCenter.TEACHER_WORK_ASSIGN_HOMEWORK)
|
|
|
.withString(TeacherConfig.COURSE_ID, rowsBean.courseId)
|
|
|
.withString(TeacherConfig.STUDENT_ID, rowsBean.studentId)
|