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

yun-zuoyi
汪云昊 5 years ago
commit 731a92fa2c

@ -138,9 +138,9 @@ public class Pager {
public int getStartRow() { public int getStartRow() {
if(pageSize > 0){ if(pageSize > 0){
if (currentPage >= 1) { if (currentPage >= 1) {
return currentPage * pageSize - pageSize; startRow = currentPage * pageSize - pageSize;
} else { } else {
return 0; startRow = 0;
} }
} }
return startRow; return startRow;

@ -1251,7 +1251,7 @@ public class ImppEnumUtil {
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum LOG_STORAGE { public enum LOG_STORAGE {
MONGO(1, "MongoDB"), // MONGO(1, "MongoDB"),
ELASTICSEARCH(2, "Elasticsearch"); ELASTICSEARCH(2, "Elasticsearch");
private int value; private int value;
private String description; private String description;

@ -108,6 +108,15 @@ public class BsSuitCase extends BaseBean {
return isNeedCertification.intValue(); return isNeedCertification.intValue();
} }
@Column(name = "IS_SAVE_EMPTY_MSG")
@ApiParam(value = "是否保存空报文")
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class)
private Integer isSaveEmptyMsg;
public int getIsSaveEmptyMsgVal(){
return isSaveEmptyMsg == null ? CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue() : isSaveEmptyMsg;
}
@Column(name = "IS_PUSH_MQ") @Column(name = "IS_PUSH_MQ")
@ApiParam(value = "是否推送MQ") @ApiParam(value = "是否推送MQ")
private Integer isPushMQ; private Integer isPushMQ;

@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*; import javax.persistence.*;
import java.util.List; import java.util.List;
import java.util.Map;
/** /**
* @Description : * @Description :
@ -137,6 +138,8 @@ public class BsSuitRecord extends BaseBean {
@ApiParam(value = "脚本结果") @ApiParam(value = "脚本结果")
private String scriptResult; private String scriptResult;
/************************************** 临时属性 ***************************************/
@Transient @Transient
@ApiParam(value = "适配记录参数") @ApiParam(value = "适配记录参数")
private List<BsSuitRecordParam> bsSuitRecordParamList; private List<BsSuitRecordParam> bsSuitRecordParamList;
@ -154,6 +157,10 @@ public class BsSuitRecord extends BaseBean {
private List<BsSuitFile> bsSuitFileList; private List<BsSuitFile> bsSuitFileList;
@Transient @Transient
@ApiParam(value = "日志长文本记录集合<关联类型,记录内容>")
private Map<Integer ,BsLongData> bsLongDataMap;
@Transient
@ApiParam(value = "适配记录报文-查询条件") @ApiParam(value = "适配记录报文-查询条件")
private String searchMessage; private String searchMessage;

Loading…
Cancel
Save