Merge remote-tracking branch 'origin/dev' into test

yun-zuoyi
jenkins 6 years ago
commit fef940bcda

@ -10,6 +10,43 @@ import com.fasterxml.jackson.annotation.JsonFormat;
* @Modify:
**/
public class MesEnumUtil {
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PASS_FAIL{
PASS(1,"合格"),
FAIL(2,"不合格");
private int value;
private String description;
PASS_FAIL(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* MesMethodmethodType
* 10.

@ -7,7 +7,7 @@ import java.io.Serializable;
@Data
public class ButtonBean implements Serializable {
@ApiParam(value = "按钮名称")
@ApiParam(value = "按钮代码")
private String buttonCode;
@ApiParam(value = "按钮名称")

Loading…
Cancel
Save