diff --git a/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/SalesEstimateTemplate.java b/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/SalesEstimateTemplate.java index a5ed83bc..ca5d433a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/SalesEstimateTemplate.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/sales/domain/SalesEstimateTemplate.java @@ -43,23 +43,23 @@ public class SalesEstimateTemplate extends BaseEntity @Excel(name = "F挡利润率") private BigDecimal fProfitRate; - /** 不含税人工成本(RMB) */ - @Excel(name = "不含税人工成本", readConverterExp = "R=MB") + + /** 上一年度总经营成本 */ + private BigDecimal totalOperatingCosts; + + /** 不含税人工成本(RMB)停用 */ private BigDecimal noTaxLaborCosts; - /** 不含税推广成本(RMB) */ - @Excel(name = "不含税推广成本", readConverterExp = "R=MB") + /** 不含税推广成本(RMB)停用 */ private BigDecimal noTaxPromotionalCosts; - /** 不含税业务成本(RMB) */ - @Excel(name = "不含税业务成本", readConverterExp = "R=MB") + /** 不含税业务成本(RMB)停用 */ private BigDecimal noTaxBusinessCosts; - /** 不含税管理成本(RMB) */ - @Excel(name = "不含税管理成本", readConverterExp = "R=MB") + /** 不含税管理成本(RMB)停用 */ private BigDecimal noTaxManagesCosts; - /** 不含税总物料成本(RMB) */ + /** 不含税总物料成本(RMB)停用 */ @Excel(name = "不含税总物料成本", readConverterExp = "R=MB") private BigDecimal noTaxMaterialCosts; @@ -172,6 +172,15 @@ public class SalesEstimateTemplate extends BaseEntity return noTaxMaterialCosts; } + + public BigDecimal getTotalOperatingCosts() { + return totalOperatingCosts; + } + + public void setTotalOperatingCosts(BigDecimal totalOperatingCosts) { + this.totalOperatingCosts = totalOperatingCosts; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) @@ -182,6 +191,7 @@ public class SalesEstimateTemplate extends BaseEntity .append("dProfitRate", getdProfitRate()) .append("eProfitRate", geteProfitRate()) .append("fProfitRate", getfProfitRate()) + .append("totalOperatingCosts", getTotalOperatingCosts()) .append("noTaxLaborCosts", getNoTaxLaborCosts()) .append("noTaxPromotionalCosts", getNoTaxPromotionalCosts()) .append("noTaxBusinessCosts", getNoTaxBusinessCosts()) diff --git a/ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateTemplateMapper.xml b/ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateTemplateMapper.xml index e0983e4c..0b4cc551 100644 --- a/ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateTemplateMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateTemplateMapper.xml @@ -12,6 +12,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + @@ -25,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select estimate_template_id, A_profit_rate, B_profit_rate, C_profit_rate, D_profit_rate, E_profit_rate, F_profit_rate, no_tax_labor_costs, no_tax_promotional_costs, no_tax_business_costs, no_tax_manages_costs, no_tax_material_costs, create_by, create_time, update_by, update_time, remark from sales_estimate_template + select estimate_template_id, A_profit_rate, B_profit_rate, C_profit_rate, D_profit_rate, E_profit_rate, F_profit_rate, total_operating_costs, no_tax_labor_costs, no_tax_promotional_costs, no_tax_business_costs, no_tax_manages_costs, no_tax_material_costs, create_by, create_time, update_by, update_time, remark from sales_estimate_template - - -
- -
- -
-
-
- -
- -
-
-
- -
- -
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
-

总物料成本

+

上一年度总物料成本