软适配记录新增错误描述

yun-zuoyi
zhang.xw 3 years ago
parent 4be6f3104f
commit b9f1b3afa4

@ -141,6 +141,10 @@ public class BsSuitRecord extends BaseBean {
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.SUIT_PROCESS_STATUS.class)
private Integer processState;
@Column(name = "ERROR_MSG")
@ApiParam(value = "错误信息描述")
private String errorMsg;
public String getProcessStateTxt() {
return processState == null ? BlockSoftSwitchEnumUtil.SUIT_PROCESS_STATUS.UNPROCESSED.getDescription() :
BlockSoftSwitchEnumUtil.SUIT_PROCESS_STATUS.valueOfDescription(processState);

Loading…
Cancel
Save