|
@ -12,6 +12,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="dProfitRate" column="D_profit_rate" /> |
|
|
<result property="dProfitRate" column="D_profit_rate" /> |
|
|
<result property="eProfitRate" column="E_profit_rate" /> |
|
|
<result property="eProfitRate" column="E_profit_rate" /> |
|
|
<result property="fProfitRate" column="F_profit_rate" /> |
|
|
<result property="fProfitRate" column="F_profit_rate" /> |
|
|
|
|
|
<result property="totalOperatingCosts" column="total_operating_costs" /> |
|
|
<result property="noTaxLaborCosts" column="no_tax_labor_costs" /> |
|
|
<result property="noTaxLaborCosts" column="no_tax_labor_costs" /> |
|
|
<result property="noTaxPromotionalCosts" column="no_tax_promotional_costs" /> |
|
|
<result property="noTaxPromotionalCosts" column="no_tax_promotional_costs" /> |
|
|
<result property="noTaxBusinessCosts" column="no_tax_business_costs" /> |
|
|
<result property="noTaxBusinessCosts" column="no_tax_business_costs" /> |
|
@ -25,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectSalesEstimateTemplateVo"> |
|
|
<sql id="selectSalesEstimateTemplateVo"> |
|
|
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 |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<select id="selectSalesEstimateTemplateList" parameterType="SalesEstimateTemplate" resultMap="SalesEstimateTemplateResult"> |
|
|
<select id="selectSalesEstimateTemplateList" parameterType="SalesEstimateTemplate" resultMap="SalesEstimateTemplateResult"> |
|
@ -52,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="dProfitRate != null">D_profit_rate,</if> |
|
|
<if test="dProfitRate != null">D_profit_rate,</if> |
|
|
<if test="eProfitRate != null">E_profit_rate,</if> |
|
|
<if test="eProfitRate != null">E_profit_rate,</if> |
|
|
<if test="fProfitRate != null">F_profit_rate,</if> |
|
|
<if test="fProfitRate != null">F_profit_rate,</if> |
|
|
|
|
|
<if test="totalOperatingCosts != null">total_operating_costs,</if> |
|
|
<if test="noTaxLaborCosts != null">no_tax_labor_costs,</if> |
|
|
<if test="noTaxLaborCosts != null">no_tax_labor_costs,</if> |
|
|
<if test="noTaxPromotionalCosts != null">no_tax_promotional_costs,</if> |
|
|
<if test="noTaxPromotionalCosts != null">no_tax_promotional_costs,</if> |
|
|
<if test="noTaxBusinessCosts != null">no_tax_business_costs,</if> |
|
|
<if test="noTaxBusinessCosts != null">no_tax_business_costs,</if> |
|
@ -70,6 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="dProfitRate != null">#{dProfitRate},</if> |
|
|
<if test="dProfitRate != null">#{dProfitRate},</if> |
|
|
<if test="eProfitRate != null">#{eProfitRate},</if> |
|
|
<if test="eProfitRate != null">#{eProfitRate},</if> |
|
|
<if test="fProfitRate != null">#{fProfitRate},</if> |
|
|
<if test="fProfitRate != null">#{fProfitRate},</if> |
|
|
|
|
|
<if test="totalOperatingCosts != null">#{totalOperatingCosts},</if> |
|
|
<if test="noTaxLaborCosts != null">#{noTaxLaborCosts},</if> |
|
|
<if test="noTaxLaborCosts != null">#{noTaxLaborCosts},</if> |
|
|
<if test="noTaxPromotionalCosts != null">#{noTaxPromotionalCosts},</if> |
|
|
<if test="noTaxPromotionalCosts != null">#{noTaxPromotionalCosts},</if> |
|
|
<if test="noTaxBusinessCosts != null">#{noTaxBusinessCosts},</if> |
|
|
<if test="noTaxBusinessCosts != null">#{noTaxBusinessCosts},</if> |
|
@ -92,6 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="dProfitRate != null">D_profit_rate = #{dProfitRate},</if> |
|
|
<if test="dProfitRate != null">D_profit_rate = #{dProfitRate},</if> |
|
|
<if test="eProfitRate != null">E_profit_rate = #{eProfitRate},</if> |
|
|
<if test="eProfitRate != null">E_profit_rate = #{eProfitRate},</if> |
|
|
<if test="fProfitRate != null">F_profit_rate = #{fProfitRate},</if> |
|
|
<if test="fProfitRate != null">F_profit_rate = #{fProfitRate},</if> |
|
|
|
|
|
<if test="totalOperatingCosts != null">total_operating_costs = #{totalOperatingCosts},</if> |
|
|
<if test="noTaxLaborCosts != null">no_tax_labor_costs = #{noTaxLaborCosts},</if> |
|
|
<if test="noTaxLaborCosts != null">no_tax_labor_costs = #{noTaxLaborCosts},</if> |
|
|
<if test="noTaxPromotionalCosts != null">no_tax_promotional_costs = #{noTaxPromotionalCosts},</if> |
|
|
<if test="noTaxPromotionalCosts != null">no_tax_promotional_costs = #{noTaxPromotionalCosts},</if> |
|
|
<if test="noTaxBusinessCosts != null">no_tax_business_costs = #{noTaxBusinessCosts},</if> |
|
|
<if test="noTaxBusinessCosts != null">no_tax_business_costs = #{noTaxBusinessCosts},</if> |
|
|