|
|
@@ -354,4 +354,56 @@ public class InvSource implements Serializable {
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+
|
|
|
+ public void builder(){
|
|
|
+ if(null == this.getJqPremium()){
|
|
|
+ this.setJqPremium(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getSyPremium()){
|
|
|
+ this.setSyPremium(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getNonCarPremium()){
|
|
|
+ this.setNonCarPremium(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getJqPremiumRatio()){
|
|
|
+ this.setJqPremiumRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getSyPremiumRatio()){
|
|
|
+ this.setSyPremiumRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getNonCarPremiumRatio()){
|
|
|
+ this.setNonCarPremiumRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getMaxJqReceivableRatio()){
|
|
|
+ this.setMaxJqReceivableRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getMaxSyReceivableRatio()){
|
|
|
+ this.setMaxSyReceivableRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getMaxNonCarReceivableRatio()){
|
|
|
+ this.setMaxNonCarReceivableRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getJqPremiumTax()){
|
|
|
+ this.setJqPremiumTax(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getSyPremiumTax()){
|
|
|
+ this.setSyPremiumTax(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getNonCarPremiumTax()){
|
|
|
+ this.setNonCarPremiumTax(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getJqReceivableRatio()){
|
|
|
+ this.setJqReceivableRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getSyReceivableRatio()){
|
|
|
+ this.setSyReceivableRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getNonCarReceivableRatio()){
|
|
|
+ this.setNonCarReceivableRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ if(null == this.getSubsidyRatio()){
|
|
|
+ this.setSubsidyRatio(new BigDecimal(0));
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|