fix bugs.

This commit is contained in:
2025-12-02 15:37:29 +08:00
parent 7bf2297750
commit 8ce028379c
7 changed files with 44 additions and 66 deletions

View File

@@ -1061,8 +1061,10 @@ public class SingSongFragment extends BaseRoomFragment<SingSongPresenter, Fragme
break;
}
}
if (pitBean.getPit_number().isEmpty())
return;
if (roomInfoRespPk == null || roomInfoRespPk.getPk_info() == null) {
wheatLayoutSingManager.updateSingleWheat(pitBean, Integer.parseInt(pitBean.getPit_number() != null ? roomPitBean.getPit_number() : "0"));
wheatLayoutSingManager.updateSingleWheat(pitBean, Integer.parseInt(pitBean.getPit_number()));
} else {
wheatLayoutManager1.updateSingleWheat(pitBean, Integer.parseInt(pitBean.getPit_number()), 1);
}