Explorar el Código

网络教室优化

zouxuan hace 3 años
padre
commit
8ae266766c
Se han modificado 1 ficheros con 3 adiciones y 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}