Explorar o código

网络教室优化

zouxuan %!s(int64=3) %!d(string=hai) anos
pai
achega
8ae266766c
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      mec-biz/src/main/resources/config/mybatis/RoomMapper.xml

+ 3 - 3
mec-biz/src/main/resources/config/mybatis/RoomMapper.xml

@@ -60,13 +60,13 @@
 		UPDATE rongyun_room
 		<set>
 			<if test="display">
-				AND display = #{display}
+				display = #{display},
 			</if>
 			<if test="soundVolume">
-				AND sound_volume = #{soundVolume}
+				sound_volume = #{soundVolume},
 			</if>
 			<if test="whiteboardNameIndex">
-				AND whiteboard_name_index = #{whiteboardNameIndex}
+				whiteboard_name_index = #{whiteboardNameIndex}
 			</if>
 		</set>
 		WHERE rid = #{roomId}