diff --git a/Dao/MyBatis/Maps/CRoom.xml b/Dao/MyBatis/Maps/CRoom.xml
index ff2ed41..86f5b7e 100644
--- a/Dao/MyBatis/Maps/CRoom.xml
+++ b/Dao/MyBatis/Maps/CRoom.xml
@@ -195,7 +195,7 @@
from lectinning a
where a.lectno=#lectno#
- a.istatus=2 and a.finishtime is not null and date_format(a.finishtime, '%y%m%d')=date_format(now(), '%y%m%d')
+ and (a.istatus=2 and a.finishtime is not null and date_format(a.finishtime, '%y%m%d')=date_format(now(), '%y%m%d'))
update lectinning a
diff --git a/FO/Web.config b/FO/Web.config
index 75aff00..98fb712 100644
--- a/FO/Web.config
+++ b/FO/Web.config
@@ -69,7 +69,7 @@
-
+