Sfoglia il codice sorgente

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

anderx 2 anni fa
parent
commit
97f931bd83

+ 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">