package com.ruoyi.production.service; import com.ruoyi.production.bean.dto.ProductionCostingQueryDto; import com.ruoyi.production.bean.vo.ProductionCostingDetailVo; import com.ruoyi.production.bean.vo.ProductionCostingSummaryVo; import com.ruoyi.production.pojo.ProductionCostingProcess; import com.ruoyi.production.pojo.ProductionCostingFactor; import com.ruoyi.production.pojo.ProductionCostingStandard; import com.ruoyi.production.pojo.ProductionCostingWorkday; import java.util.List; import java.util.Map; /** * 生产核算(成品部门 / 白盒部门)服务 */ public interface ProductionCostingService { /** 按员工汇总:产量、月时间合计、折合倍数 */ List summary(ProductionCostingQueryDto dto); /** 明细行(白盒:工序+型号;成品:工序) */ List detailList(ProductionCostingQueryDto dto); /** 月份工作日信息 */ Map workdayInfo(String yearMonth); /* ---------------- 工序类型配置 ---------------- */ List listProcess(ProductionCostingProcess query); boolean saveProcess(ProductionCostingProcess process); boolean updateProcess(ProductionCostingProcess process); boolean removeProcess(Long id); /* ---------------- 标准数量配置 ---------------- */ List listStandard(ProductionCostingStandard query); boolean saveStandard(ProductionCostingStandard standard); boolean updateStandard(ProductionCostingStandard standard); boolean removeStandard(Long id); /* ---------------- 折算率配置 ---------------- */ List listFactor(ProductionCostingFactor query); boolean saveFactor(ProductionCostingFactor factor); boolean updateFactor(ProductionCostingFactor factor); boolean removeFactor(Long id); /* ---------------- 月度工作日配置 ---------------- */ List listWorkday(ProductionCostingWorkday query); boolean saveWorkday(ProductionCostingWorkday workday); boolean updateWorkday(ProductionCostingWorkday workday); boolean removeWorkday(Long id); }