tuqin
15 小时以前 2c4bc1808f272b7d7282d1b8ba416d606ebc7df5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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<ProductionCostingSummaryVo> summary(ProductionCostingQueryDto dto);
 
    /** 明细行(白盒:工序+型号;成品:工序) */
    List<ProductionCostingDetailVo> detailList(ProductionCostingQueryDto dto);
 
    /** 月份工作日信息 */
    Map<String, Object> workdayInfo(String yearMonth);
 
    /* ---------------- 工序类型配置 ---------------- */
    List<ProductionCostingProcess> listProcess(ProductionCostingProcess query);
 
    boolean saveProcess(ProductionCostingProcess process);
 
    boolean updateProcess(ProductionCostingProcess process);
 
    boolean removeProcess(Long id);
 
    /* ---------------- 标准数量配置 ---------------- */
    List<ProductionCostingStandard> listStandard(ProductionCostingStandard query);
 
    boolean saveStandard(ProductionCostingStandard standard);
 
    boolean updateStandard(ProductionCostingStandard standard);
 
    boolean removeStandard(Long id);
 
    /* ---------------- 折算率配置 ---------------- */
    List<ProductionCostingFactor> listFactor(ProductionCostingFactor query);
 
    boolean saveFactor(ProductionCostingFactor factor);
 
    boolean updateFactor(ProductionCostingFactor factor);
 
    boolean removeFactor(Long id);
 
    /* ---------------- 月度工作日配置 ---------------- */
    List<ProductionCostingWorkday> listWorkday(ProductionCostingWorkday query);
 
    boolean saveWorkday(ProductionCostingWorkday workday);
 
    boolean updateWorkday(ProductionCostingWorkday workday);
 
    boolean removeWorkday(Long id);
}