Kaynağa Gözat

修改传参问题

Pq 6 ay önce
ebeveyn
işleme
8d33e7dfae

+ 1 - 1
student/src/main/java/com/cooleshow/student/presenter/course/LiveCoursePresenter.java

@@ -33,7 +33,7 @@ public class LiveCoursePresenter extends BasePresenter<LiveCourseContract.LiveCo
             if (!TextUtils.isEmpty(status)) {
                 jsonObject.putOpt("courseState", status);
             }
-            if (TextUtils.isEmpty(subjectId)) {
+            if (!TextUtils.isEmpty(subjectId)) {
                 jsonObject.putOpt("subjectId", subjectId);
             }
             jsonObject.putOpt("search", search);

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/presenter/course/LiveCoursePresenter.java

@@ -29,7 +29,7 @@ public class LiveCoursePresenter extends BasePresenter<LiveCourseContract.LiveCo
             if (!TextUtils.isEmpty(status)) {
                 jsonObject.putOpt("courseState", status);
             }
-            if (TextUtils.isEmpty(subjectId)) {
+            if (!TextUtils.isEmpty(subjectId)) {
                 jsonObject.putOpt("subjectId", subjectId);
             }
             jsonObject.putOpt("search", search);