| | |
| | | package com.ruoyi.production.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.home.dto.ProductionProgressOrderDto; |
| | | import com.ruoyi.production.pojo.ProductionOrder; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Mapper |
| | | public interface ProductionOrderMapper extends BaseMapper<ProductionOrder> { |
| | | |
| | | List<ProductionProgressOrderDto> selectProgressOrders(@Param("startTime") LocalDateTime startTime, |
| | | @Param("endTime") LocalDateTime endTime); |
| | | |
| | | Integer countCreated(@Param("startDate") String startDate, @Param("endDate") String endDate); |
| | | |
| | | Integer countCompleted(@Param("startDate") String startDate, @Param("endDate") String endDate); |
| | | |
| | | Integer countPending(@Param("startDate") String startDate, @Param("endDate") String endDate); |
| | | |
| | | } |