winter 1 год назад
Родитель
Сommit
8d2b29fcd2
1 измененных файлов: 23 добавлений и 0 удалений
  1. +23
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxPropertyContract.java

+ 23
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxPropertyContract.java Просмотреть файл

@@ -18,6 +18,7 @@ import lombok.ToString;


import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.RoundingMode; import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@@ -310,6 +311,26 @@ public class WxPropertyContract extends TenantEntity {
return null; return null;
} }
@TableField(exist = false)
List<WxFeesStandards> unFixedfeeStandards;
public List<WxFeesStandards> getUnFixedfeeStandards() {
List<WxFeesStandards> fees = this.getFeesStardarsList();
if (null != fees && fees.size() > 0 ) {
List<WxFeesStandards> unfixed = new ArrayList<WxFeesStandards>();
for (int i = 0 ; i < fees.size() ; i++ ) {
WxFeesStandards fs = fees.get(i);
if (fs.getFixedPrice().intValue() == EnumYesOrNo.NO.getCode().intValue()) {
unfixed.add(fs);
}
}
if (unfixed.size() <= 0 ) {
return null;
}
return unfixed;
}
return null;
}


@io.swagger.annotations.ApiModelProperty(value = "合同类型", name = "contractType") @io.swagger.annotations.ApiModelProperty(value = "合同类型", name = "contractType")
private Integer contractType; private Integer contractType;
@@ -320,4 +341,6 @@ public class WxPropertyContract extends TenantEntity {
@TableField(exist = false) @TableField(exist = false)
List<WxFeesStandards> feeStandards; List<WxFeesStandards> feeStandards;


} }

Загрузка…
Отмена
Сохранить