rs.id, rs.org_id orgId, rs.checked_org_id checkedOrgId, rs.name, rs.code,
rs.start_date startDate, rs.end_date endDate, rs.in_weekend inWeekend, rs.in_holiday inHoliday, rs.advance_hour advanceHour,
rs.checked_org_parent_ids checkedOrgParentIds,
rs.status, rs.remarks, rs.create_by createBy, rs.create_date createDate,
rs.update_by as updateBy, rs.update_date updateDate
and rs.id=#{query.id}
and rs.org_id=#{query.orgId}
and rs.checked_org_id=#{query.checkedOrgId}
and rs.name like concat('%',#{query.name},'%')
and rs.code=#{query.code}
and rs.start_date >= #{query.startDateStart}
and #{query.startDateEnd} >= rs.start_date