Selaa lähdekoodia

打卡数据匹配考勤接口开发

anderx 1 vuosi sitten
vanhempi
commit
97f931bd83
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      ruoyi-system/src/main/resources/mapper/UserRecordMapper.xml

+ 2 - 2
ruoyi-system/src/main/resources/mapper/UserRecordMapper.xml

@@ -204,10 +204,10 @@
         </if>
         where create_id = #{userId,jdbcType=BIGINT}
         <if test="type ==0">
-            and status = 1
+            and status in (1)
         </if>
         <if test="type ==1 or type  ==2">
-            and status = 0
+            and status in (0,2)
         </if>
     </update>
     <update id="userRecordMerge">