| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.productionPlan.dto.ProductionPlanDto; |
| | | import com.ruoyi.productionPlan.dto.ProductionPlanSummaryDto; |
| | | import com.ruoyi.productionPlan.pojo.ProductionPlan; |
| | | import com.ruoyi.staff.dto.StaffLeaveDto; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <br> |
| | |
| | | */ |
| | | public interface ProductionPlanService extends IService<ProductionPlan> { |
| | | IPage<ProductionPlanDto> listPage(Page page, ProductionPlanDto productionPlanDto); |
| | | |
| | | /** |
| | | * 手动同步 |
| | | */ |
| | | void loadProdData(); |
| | | |
| | | /** |
| | | * 定时同步 |
| | | */ |
| | | void syncProdDataJob(); |
| | | |
| | | /** |
| | | * 合并生产计划 |
| | | */ |
| | | boolean combine(ProductionPlanDto productionPlanDto); |
| | | |
| | | /** |
| | | * 创建生产计划 |
| | | */ |
| | | boolean add(ProductionPlanDto productionPlanDto); |
| | | |
| | | /** |
| | | * 按照产品类别汇总统计需求量 |
| | | */ |
| | | List<ProductionPlanSummaryDto> summaryByProductType(ProductionPlanSummaryDto query); |
| | | |
| | | /** |
| | | * 导入数据 |
| | | */ |
| | | void importProdData(MultipartFile file); |
| | | |
| | | /** |
| | | * 导出数据 |
| | | */ |
| | | void exportProdData(HttpServletResponse response, List<Long> ids); |
| | | } |