表单布局-删除行列校验 必须保留1行1列

yun-zuoyi
yunhao.wang 6 years ago
parent 0da89fa17e
commit bb510e573d

@ -49,9 +49,9 @@ public class BfLayout extends BaseBean {
@ApiParam(value = "列数")
private Integer layoutColumnCount;
public Integer getLayoutColumnCount(){
public Integer getLayoutColumnCountValue(){
if(this.layoutColumnCount == null) {
return null;
return 0;
}
return layoutColumnCount.intValue();
}

@ -52,6 +52,13 @@ public class BfLayoutRow extends BaseBean {
@ApiParam(value = "行所关联列数")
private Integer rowColNum;
public int getRowColNumValue(){
if(rowColNum == null){
return 0;
}
return rowColNum.intValue();
}
// 行所包含的列
@Transient
private List<BfLayoutColumn> bfLayoutColumns;

Loading…
Cancel
Save