| | |
| | | package com.sinata.appointment.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.sinata.appointment.dto.DashboardTrendPointVo; |
| | | import com.sinata.appointment.entity.AppointmentOrder; |
| | | import java.time.LocalDate; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | @Mapper |
| | | public interface AppointmentOrderMapper extends BaseMapper<AppointmentOrder> {} |
| | | public interface AppointmentOrderMapper extends BaseMapper<AppointmentOrder> { |
| | | |
| | | IPage<AppointmentOrder> pageAdminOrders( |
| | | Page<AppointmentOrder> page, |
| | | @Param("visitedUserName") String visitedUserName, |
| | | @Param("visitedDeptId") Long visitedDeptId, |
| | | @Param("accessArea") String accessArea, |
| | | @Param("localUnit") String localUnit, |
| | | @Param("visitDateStart") LocalDate visitDateStart, |
| | | @Param("visitDateEnd") LocalDate visitDateEnd, |
| | | @Param("displayStatus") String displayStatus, |
| | | @Param("approvalStatus") String approvalStatus, |
| | | @Param("visitorKeyword") String visitorKeyword, |
| | | @Param("visitReasonCode") String visitReasonCode); |
| | | |
| | | IPage<AppointmentOrder> pageMiniVisitRecords( |
| | | Page<AppointmentOrder> page, |
| | | @Param("visitedUserId") Long visitedUserId, |
| | | @Param("futureOnly") boolean futureOnly, |
| | | @Param("visitorNameKeyword") String visitorNameKeyword, |
| | | @Param("visitDate") LocalDate visitDate); |
| | | |
| | | IPage<AppointmentOrder> pageMiniMyOrders( |
| | | Page<AppointmentOrder> page, |
| | | @Param("submitterId") Long submitterId, |
| | | @Param("status") String status, |
| | | @Param("keyword") String keyword); |
| | | |
| | | AppointmentOrder selectMiniVisibleOrderById( |
| | | @Param("id") Long id, |
| | | @Param("submitterId") Long submitterId); |
| | | |
| | | List<DashboardTrendPointVo> listDashboardTrend( |
| | | @Param("startDate") LocalDate startDate, |
| | | @Param("endDate") LocalDate endDate, |
| | | @Param("deptIds") List<Long> deptIds); |
| | | } |