zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
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
package com.changhong.epc.form.service.budget.department;
 
import java.util.List;
import java.util.Map;
 
import com.changhong.autoform.entity.BudgetTitle;
import com.changhong.autoform.entity.ProcessBudget;
import com.changhong.epc.bean.form.budget.BudgetUserDefined;
import com.changhong.epc.bean.form.budget.filtrate.BudgetclassifyKey;
import com.changhong.epc.bean.form.budget.filtrate.BudgetclassifyValue;
import com.changhong.epc.bean.form.budget.filtrate.IBudgetFilterMode;
 
public interface IDepartment extends IBudgetFilterMode {
    
    /**
     * 获得可用预算
     * @return
     */
    List<Map<String,Object>> getUsableBudgetList();
    
    /**
     * 执行回写预算
     */
    // boolean executeWriteBack(ProcessBudget processBudget);
    
    /**
     * 设置数据源
     * @param budgetUserDefined
     * @param data
     */
    void setDataSource(BudgetUserDefined budgetUserDefined, 
            Map<BudgetclassifyKey,BudgetclassifyValue> data);
    
    /**
     * 返回函数定义
     * @return
     */
    BudgetUserDefined getBudgetUserDefined();
 
    /**
     * 执行回写预算
     */
    boolean executeWriteBack(Map<String, Object> fromInfo, ProcessBudget processBudget,String formID);
    
    /**
     * 执行退回相关表单金额
     */
    Boolean excuteRefunds(Map<String, Object> formInfo);
    /**
     * 返回辩题
     * @return
     */
    public List<BudgetTitle> getTitles();
    
    /**
     * 返回函数重写
     */
    BudgetUserDefined getBudgetUserDefined(String fun);
}