parent
14de7c568d
commit
5209e2c8d0
|
@ -458,16 +458,17 @@ public abstract class IncomeCostBean {
|
||||||
|| null == costPurchaseBuildTaxExclude
|
|| null == costPurchaseBuildTaxExclude
|
||||||
|| null == costPurchaseServiceTaxExclude
|
|| null == costPurchaseServiceTaxExclude
|
||||||
|| null == costPurchaseOtherTaxExclude
|
|| null == costPurchaseOtherTaxExclude
|
||||||
|| null == costProjectManageTaxExclude
|
// || null == costProjectManageTaxExclude
|
||||||
|| null == costOtherOtherTaxExclude) {
|
// || null == costOtherOtherTaxExclude
|
||||||
|
) {
|
||||||
return handleSpecial(null);
|
return handleSpecial(null);
|
||||||
}
|
}
|
||||||
return costPurchaseDeviceTaxExclude
|
return costPurchaseDeviceTaxExclude
|
||||||
.add(costPurchaseBuildTaxExclude)
|
.add(costPurchaseBuildTaxExclude)
|
||||||
.add(costPurchaseServiceTaxExclude)
|
.add(costPurchaseServiceTaxExclude)
|
||||||
.add(costPurchaseOtherTaxExclude)
|
.add(costPurchaseOtherTaxExclude);
|
||||||
.add(costProjectManageTaxExclude)
|
// .add(costProjectManageTaxExclude)
|
||||||
.add(costOtherOtherTaxExclude);
|
// .add(costOtherOtherTaxExclude);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -118,8 +118,12 @@ public class ProjectBudget {
|
||||||
private Integer industrySceneBudget;
|
private Integer industrySceneBudget;
|
||||||
@Column(name = "cost_detail_attr")
|
@Column(name = "cost_detail_attr")
|
||||||
private String costDetailAttr;
|
private String costDetailAttr;
|
||||||
|
@Column(name = "cost_detail_attr_name")
|
||||||
|
private String costDetailAttrName;
|
||||||
@Column(name = "income_detail_attr")
|
@Column(name = "income_detail_attr")
|
||||||
private String incomeDetailAttr;
|
private String incomeDetailAttr;
|
||||||
|
@Column(name = "income_detail_attr_name")
|
||||||
|
private String incomeDetailAttrName;
|
||||||
/**
|
/**
|
||||||
* 行业场景应用
|
* 行业场景应用
|
||||||
*/
|
*/
|
||||||
|
@ -245,6 +249,22 @@ public class ProjectBudget {
|
||||||
@Transient
|
@Transient
|
||||||
private String advancePeakAmountRoundBudget;
|
private String advancePeakAmountRoundBudget;
|
||||||
|
|
||||||
|
public String getCostDetailAttrName() {
|
||||||
|
return costDetailAttrName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCostDetailAttrName(String costDetailAttrName) {
|
||||||
|
this.costDetailAttrName = costDetailAttrName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIncomeDetailAttrName() {
|
||||||
|
return incomeDetailAttrName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIncomeDetailAttrName(String incomeDetailAttrName) {
|
||||||
|
this.incomeDetailAttrName = incomeDetailAttrName;
|
||||||
|
}
|
||||||
|
|
||||||
public String getCostDetailAttr() {
|
public String getCostDetailAttr() {
|
||||||
return costDetailAttr;
|
return costDetailAttr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -778,7 +778,8 @@ public class ProjectBudgetService {
|
||||||
BigDecimal projectCost = new BigDecimal(0);
|
BigDecimal projectCost = new BigDecimal(0);
|
||||||
BigDecimal serviceCost = new BigDecimal(0);
|
BigDecimal serviceCost = new BigDecimal(0);
|
||||||
BigDecimal otherCost = new BigDecimal(0);
|
BigDecimal otherCost = new BigDecimal(0);
|
||||||
BigDecimal deviceCost = calDeviceCost(budgetCostDetail);
|
// BigDecimal deviceCost = calDeviceCost(budgetCostDetail);
|
||||||
|
BigDecimal deviceCost = BigDecimal.ZERO;
|
||||||
BigDecimal engineerCost = calEngineerCost(budgetCostDetail);
|
BigDecimal engineerCost = calEngineerCost(budgetCostDetail);
|
||||||
BigDecimal projectManageCost = calProjectManageCost(budgetCostProjectManageDetail);
|
BigDecimal projectManageCost = calProjectManageCost(budgetCostProjectManageDetail);
|
||||||
|
|
||||||
|
@ -795,6 +796,8 @@ public class ProjectBudgetService {
|
||||||
projectCost = projectCost.add(budgetPlan.getProjectCost());
|
projectCost = projectCost.add(budgetPlan.getProjectCost());
|
||||||
serviceCost = serviceCost.add(budgetPlan.getServiceCost());
|
serviceCost = serviceCost.add(budgetPlan.getServiceCost());
|
||||||
otherCost=otherCost.add(budgetPlan.getOtherCost());
|
otherCost=otherCost.add(budgetPlan.getOtherCost());
|
||||||
|
|
||||||
|
deviceCost=deviceCost.add(budgetPlan.getDeviceCost());
|
||||||
earnestMoneyCost = earnestMoneyCost.add(budgetPlan.getEarnestMoneyCost());
|
earnestMoneyCost = earnestMoneyCost.add(budgetPlan.getEarnestMoneyCost());
|
||||||
earnestMoneyIncome = earnestMoneyIncome.add(budgetPlan.getEarnestMoneyIncome());
|
earnestMoneyIncome = earnestMoneyIncome.add(budgetPlan.getEarnestMoneyIncome());
|
||||||
capitalInterest = capitalInterest.add(budgetPlan.getCapitalInterest());
|
capitalInterest = capitalInterest.add(budgetPlan.getCapitalInterest());
|
||||||
|
@ -802,7 +805,7 @@ public class ProjectBudgetService {
|
||||||
repaymentPlan = repaymentPlan.add(budgetPlan.getRepaymentPlan());
|
repaymentPlan = repaymentPlan.add(budgetPlan.getRepaymentPlan());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BigDecimal totalCost = deviceCost.add(engineerCost).add(projectManageCost).add(earnestMoneyCost);
|
BigDecimal totalCost = deviceCost.add(projectCost).add(serviceCost).add(otherCost).add(projectManageCost).add(earnestMoneyCost);
|
||||||
BigDecimal totalIncome = saleIncome.add(earnestMoneyIncome);
|
BigDecimal totalIncome = saleIncome.add(earnestMoneyIncome);
|
||||||
|
|
||||||
//总余额等于总收入-总支出
|
//总余额等于总收入-总支出
|
||||||
|
|
Loading…
Reference in New Issue