瀏覽代碼

修改打卡时间查询

anderx 1 年之前
父節點
當前提交
d4407b07c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-system/src/main/resources/mapper/project/ProjectStaffRecordMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/project/ProjectStaffRecordMapper.xml

@@ -230,7 +230,7 @@
       and( #{researchStart} between b.start_time and b.end_time or  #{researchEnd} between b.start_time and b.end_time)
     </if>
     <if test="startTime != null and endTime != null">
-      and b.start_time between #{startTime} and #{startTime}
+      and a.record_time between #{startTime} and #{endTime}
     </if>
     <if test="fullJob != null">and c.full_job= #{fullJob}</if>
     <if test="deptId != null">and (d.dept_id= #{deptId} or find_in_set(#{deptId},d.ancestors)) </if>