zouxuan 5 lat temu
rodzic
commit
978e46b1a7

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/TeacherAttendanceMapper.xml

@@ -155,10 +155,10 @@
             <if test="signOutStatus != null and signOutStatus != 3">
                 AND ta.sign_out_status_ = #{signOutStatus}
             </if>
-            <if test="signOutStatus != null and signOutStatus = 3">
+            <if test="signOutStatus != null and signOutStatus == 3">
                 AND ta.sign_out_status_ IS NULL
             </if>
-            <if test="signInStatus != null and signInStatus = 3">
+            <if test="signInStatus != null and signInStatus == 3">
                 AND ta.sign_in_status_ IS NULL
             </if>
             <if test="courseScheduleType != null">

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/TeacherMapper.xml

@@ -512,10 +512,10 @@
             <if test="signOutStatus != null and signOutStatus != 3">
                 AND ta.sign_out_status_ = #{signOutStatus}
             </if>
-            <if test="signOutStatus != null and signOutStatus = 3">
+            <if test="signOutStatus != null and signOutStatus == 3">
                 AND ta.sign_out_status_ IS NULL
             </if>
-            <if test="signInStatus != null and signInStatus = 3">
+            <if test="signInStatus != null and signInStatus == 3">
                 AND ta.sign_in_status_ IS NULL
             </if>
         </where>