|
@@ -64,7 +64,7 @@ public interface RoomMemberDao extends JpaRepository<RoomMember, Long> {
|
|
|
|
|
|
@Transactional
|
|
|
@Modifying
|
|
|
- @Query(value = "update rongyun_room_member set play_midi_json=?3 where rid=?1 and FIND_IN_SET(uid,?2)", nativeQuery = true)
|
|
|
+ @Query(value = "update rongyun_room_member set play_midi_json=?3 where rid=?1 and FIND_IN_SET(uid,?2)>0", nativeQuery = true)
|
|
|
public int updatePlayMidiJsonByRidAndUid(String rid, String uid, String playMidiJson);
|
|
|
|
|
|
@Transactional
|