|
|
@ -20,6 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="usdTax" column="usdTax" /> |
|
|
|
<result property="materialNum" column="materialNum" /> |
|
|
|
<result property="materialSole" column="materialSole" /> |
|
|
|
<result property="recentQuotationRMB" column="recentQuotation_rmb" /> |
|
|
|
<result property="recentQuotationUSD" column="recentQuotation_usd" /> |
|
|
|
<result property="materialRmb" column="materialRmb" /> |
|
|
|
<result property="materialNoRmb" column="materialNoRmb" /> |
|
|
|
<result property="materialNoUsd" column="materialNoUsd" /> |
|
|
@ -49,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
|
|
|
<sql id="selectSysSalesOrderChild"> |
|
|
|
select a.id, a.quoteId, a.materialId, a.materialCode, a.materialName, a.materialType, a.processMethod, a.brand, a.photoUrl,a.unit, a.`describe`, |
|
|
|
a.warehouseDept,a.countTax, a.usdTax, a.materialNum,a.materialSole, a.materialRmb, a.materialNoRmb, a.materialNoUsd, a.materialUsd, a.materialUsdSum, |
|
|
|
a.warehouseDept,a.countTax, a.usdTax, a.materialNum,a.materialSole, a.recentQuotation_rmb, a.recentQuotation_usd, a.materialRmb, a.materialNoRmb, a.materialNoUsd, a.materialUsd, a.materialUsdSum, |
|
|
|
a.materialNoUsdSum, a.materialNoRmbSum, a.materialRmbSum,a.delivery_time, a.expiry_day, |
|
|
|
a.out_bound_quantity, a.un_bound_quantity, a.create_by, a.create_time, a.update_by, |
|
|
|
a.update_time, a.remark |
|
|
@ -72,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</select> |
|
|
|
<select id="selectSysSalesOrderChildListAll" parameterType="SysSalesOrderChild" resultMap="SysSalesOrderChildResult"> |
|
|
|
select id, quoteId, materialId, materialCode, materialName, materialType, processMethod, brand, photoUrl,unit, `describe`, |
|
|
|
warehouseDept,countTax, usdTax, materialNum,materialSole, materialRmb, materialNoRmb, materialNoUsd, materialUsd, materialUsdSum, |
|
|
|
warehouseDept,countTax, usdTax, materialNum,materialSole , recentQuotation_rmb, recentQuotation_usd, materialRmb, materialNoRmb, materialNoUsd, materialUsd, materialUsdSum, |
|
|
|
materialNoUsdSum, materialNoRmbSum, materialRmbSum,delivery_time, expiry_day, |
|
|
|
out_bound_quantity, un_bound_quantity, create_by, create_time, update_by, |
|
|
|
update_time, remark, use_status,audit_status |
|
|
@ -143,6 +145,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="usdTax != null">usdTax,</if> |
|
|
|
<if test="materialNum != null">materialNum,</if> |
|
|
|
<if test="materialSole != null">materialSole,</if> |
|
|
|
<if test="recentQuotationRMB != null">recentQuotation_rmb,</if> |
|
|
|
<if test="recentQuotationUSD != null">recentQuotation_usd,</if> |
|
|
|
<if test="materialRmb != null">materialRmb,</if> |
|
|
|
<if test="materialNoRmb != null">materialNoRmb,</if> |
|
|
|
<if test="materialNoUsd != null">materialNoUsd,</if> |
|
|
@ -183,6 +187,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="usdTax != null">#{usdTax},</if> |
|
|
|
<if test="materialNum != null">#{materialNum},</if> |
|
|
|
<if test="materialSole != null">#{materialSole},</if> |
|
|
|
<if test="recentQuotationRMB != null">#{recentQuotationRMB},</if> |
|
|
|
<if test="recentQuotationUSD != null">#{recentQuotationUSD},</if> |
|
|
|
<if test="materialRmb != null">#{materialRmb},</if> |
|
|
|
<if test="materialNoRmb != null">#{materialNoRmb},</if> |
|
|
|
<if test="materialNoUsd != null">#{materialNoUsd},</if> |
|
|
@ -227,6 +233,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="usdTax != null">usdTax = #{usdTax},</if> |
|
|
|
<if test="materialNum != null">materialNum = #{materialNum},</if> |
|
|
|
<if test="materialSole != null">materialSole = #{materialSole},</if> |
|
|
|
<if test="recentQuotationRMB != null">recentQuotation_rmb = #{recentQuotationRMB},</if> |
|
|
|
<if test="recentQuotationUSD != null">recentQuotation_usd = #{recentQuotationUSD},</if> |
|
|
|
<if test="materialRmb != null">materialRmb = #{materialRmb},</if> |
|
|
|
<if test="materialNoRmb != null">materialNoRmb = #{materialNoRmb},</if> |
|
|
|
<if test="materialNoUsd != null">materialNoUsd = #{materialNoUsd},</if> |
|
|
@ -272,6 +280,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="usdTax != null">usdTax = #{usdTax},</if> |
|
|
|
<if test="materialNum != null">materialNum = #{materialNum},</if> |
|
|
|
<if test="materialSole != null">materialSole = #{materialSole},</if> |
|
|
|
<if test="recentQuotationRMB != null">recentQuotation_rmb = #{recentQuotationRMB},</if> |
|
|
|
<if test="recentQuotationUSD != null">recentQuotation_usd = #{recentQuotationUSD},</if> |
|
|
|
<if test="materialRmb != null">materialRmb = #{materialRmb},</if> |
|
|
|
<if test="materialNoRmb != null">materialNoRmb = #{materialNoRmb},</if> |
|
|
|
<if test="materialNoUsd != null">materialNoUsd = #{materialNoUsd},</if> |
|
|
|