package com.ruoyi.production.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.home.dto.ProductionProgressOrderDto; import com.ruoyi.production.bean.dto.ProductionOrderDto; import com.ruoyi.production.bean.vo.ProductionOrderVo; 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; /** *

* 生产订单表 Mapper 接口 *

* * @author 芯导软件(江苏)有限公司 * @since 2026-04-21 03:55:52 */ @Mapper public interface ProductionOrderMapper extends BaseMapper { IPage pageProductionOrder(Page page, @Param("c") ProductionOrderDto dto); List listProductionOrder(@Param("c") ProductionOrderDto dto); ProductionOrderVo getProductionOrderInfo(@Param("id") Long id); List 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); }