刘光辉
15 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
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
package jnpf.limsService.support;
 
/**
 * 稳定性销毁申请的流程状态规则。
 */
public final class LimsWendingxingXiaohuiFlowStatusResolver {
 
    public static final String PROCESSING = "processing";
    public static final String COMPLETED = "completed";
 
    private LimsWendingxingXiaohuiFlowStatusResolver() {
    }
 
    public static boolean isTerminal(Integer flowState) {
        if (flowState == null) {
            return false;
        }
        switch (flowState) {
            case 2:
            case 3:
            case 4:
            case 7:
            case 9:
                return true;
            default:
                return false;
        }
    }
}