xuhy
7 天以前 1b09f886a2c8dc47c4945dace5bd649a7b4ef0ad
ruoyi-system/src/main/resources/mapper/system/TLeaveMapper.xml
@@ -43,9 +43,8 @@
        <if test="query.auditStatus != null">
            and t1.audit_status = #{query.auditStatus}
        </if>
          <if test="query.startTime != null and startTime != ''">
              and (t1.start_time between #{startTime} and #{endTime})
                and (t1.end_time between #{startTime} and #{endTime})
        <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
              and (t1.start_time between #{query.startTime} and #{query.endTime})
        </if>
        <if test="query.deptIds != null and query.deptIds.size()>0">
            AND t2.deptId IN