安灯类型,状态,子类型,基础数据开发

yun-zuoyi
柯裕 6 years ago
parent 98f35a5624
commit d081c16c61

@ -399,4 +399,30 @@ public class AndonHqlPack {
return result;
}
/**
*
* @param andonAlarmType
* @return
*/
public static DdlPackBean packAndonAlarmType(AndonAlarmType andonAlarmType) {
DdlPackBean result = new DdlPackBean();
getStringBuilderPack(andonAlarmType, result);
return result;
}
/**
*
* @param andonStatus
* @return
*/
public static DdlPackBean packAndonStatus(AndonStatus andonStatus) {
DdlPackBean result = new DdlPackBean();
getStringBuilderPack(andonStatus, result);
return result;
}
}

@ -56,7 +56,7 @@ public class AndonEnumUtil {
SECOND_APPROVAL("20","二级审批"),
THIRD_APPROVAL("30","三级审批"),
FOUTH_APPROVAL("40","四级审批"),
FINISH("100","已审批");
FINISH("60","已审批");
private String value;
private String description;
@ -200,18 +200,18 @@ public class AndonEnumUtil {
/**
*
* 10 = 20 = 30 = 40 = 50 = ,60 = 70 =
* 10 = 20 = 30 = 40 = 50 = 60 = 70 =
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ANDON_ACTION_FLAG{
CALL_ACTION("10","呼叫动作"),
SIGN_ACTION("20","签到动作"),
CANCEL_ACTION("30", "撤销动作"),
RESOLVE_ACTION("40", "解决动作"),
SHIFG_CALL_ACTION("50", "转呼动作"),
COMMIT_ACTION("60","提交动作"),
PASS_ACTION("70","审批动作");
RESOLVE_ACTION("30", "解决动作"),
CANCEL_ACTION("40", "撤销动作"),
COMMIT_ACTION("50","提交动作"),
PASS_ACTION("60","审批动作"),
SHIFG_CALL_ACTION("70", "转呼动作");
private String value;
private String description;

Loading…
Cancel
Save