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 "";
|
}
|
|
}
|