|
@@ -1,5 +1,7 @@
|
|
|
package com.cooleshow.teacher.presenter.homePage;
|
|
|
|
|
|
+import android.text.TextUtils;
|
|
|
+
|
|
|
import com.cooleshow.base.constanst.Constants;
|
|
|
import com.cooleshow.base.presenter.BasePresenter;
|
|
|
import com.cooleshow.base.rx.BaseObserver;
|
|
@@ -50,7 +52,10 @@ public class SheetMusicPagePresenter extends BasePresenter<SheetMusicPageContrac
|
|
|
}
|
|
|
SheetMusicEntry entry = new SheetMusicEntry();
|
|
|
entry.idAndName = idAndName;
|
|
|
- entry.subjectIds = subjectIds;
|
|
|
+ if(!TextUtils.equals(subjectIds,"0")){
|
|
|
+ //全部声部的时候不传这个字段
|
|
|
+ entry.subjectIds = subjectIds;
|
|
|
+ }
|
|
|
entry.auditStatus = SHEET_MUSIC_STATUS_PASS;
|
|
|
entry.page = page;
|
|
|
entry.rows = Constants.DEFAULT_DATA_SIZE;
|