lyh
2026-02-25 b1fc02cdbfb6d031973897f26839789a3f880b84
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
package com.lxzn.framework.utils;
 
import com.lxzn.framework.model.response.ResultCode;
import lombok.ToString;
 
import java.text.ParseException;
 
/**
 * @author clown
 * * @date 2022/11/7
 */
@ToString
public class LogCodeUtil {
 
    public static final String ndc_code = "DNC";
    public static final String plm_code = "PLM";
    public static final String mes_code = "MES";
    public static final String success_is_true = "成功";
    public static final String success_is_false = "失败";
 
    public static String codeTypeReturn(Integer codeType) {
        switch (codeType) {
            case 1 : return ndc_code;
            case 2 : return plm_code;
            case 3 : return mes_code;
        }
        return "";
    }
 
}