|
|
|
@ -5,10 +5,11 @@ import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil;
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.ColumnDefault;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
@ -34,7 +35,7 @@ import java.util.Map;
|
|
|
|
|
@Index(name="bs_suit_record_create_date_time_idx",columnList = "CREATE_DATE_TIME"),
|
|
|
|
|
@Index(name="bs_suit_record_process_time_idx",columnList = "PROCESS_TIME"),
|
|
|
|
|
})
|
|
|
|
|
@Api(value = "适配记录", description = "适配记录")
|
|
|
|
|
@ApiModel(value = "适配记录", description = "适配记录")
|
|
|
|
|
public class BsSuitRecord extends BaseBean {
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 174969165955420968L;
|
|
|
|
@ -157,6 +158,26 @@ public class BsSuitRecord extends BaseBean {
|
|
|
|
|
@ApiParam(value = "处理结果")
|
|
|
|
|
private String processResult;
|
|
|
|
|
|
|
|
|
|
@ColumnDefault(value = "10")
|
|
|
|
|
@Column(name = "RETRY_STATUS")
|
|
|
|
|
@ApiParam(value = "重试状态")
|
|
|
|
|
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.BS_SUIT_RETRY_STATUS.class)
|
|
|
|
|
private Integer retryStatus;
|
|
|
|
|
|
|
|
|
|
public String getRetryStatusTxt() {
|
|
|
|
|
return retryStatus == null ? BlockSoftSwitchEnumUtil.BS_SUIT_RETRY_STATUS.NOT_RETRY.getDescription() :
|
|
|
|
|
BlockSoftSwitchEnumUtil.BS_SUIT_RETRY_STATUS.valueOfDescription(retryStatus);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ColumnDefault(value = "0")
|
|
|
|
|
@Column(name = "RETRY_NUM")
|
|
|
|
|
@ApiParam(value = "重试状态")
|
|
|
|
|
private Integer retryNum;
|
|
|
|
|
|
|
|
|
|
public int getRetryNumVal() {
|
|
|
|
|
return retryNum == null ? 0 : retryNum;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/************************************** 临时属性 ***************************************/
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|