|
|
@ -11,6 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="materialName" column="material_name" /> |
|
|
|
<result property="materialType" column="material_type" /> |
|
|
|
<result property="processMethod" column="processMethod" /> |
|
|
|
<result property="materialModel" column="material_model" /> |
|
|
|
<result property="brand" column="brand" /> |
|
|
|
<result property="photoUrl" column="photoUrl" /> |
|
|
|
<result property="describe" column="describe" /> |
|
|
@ -34,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
|
|
|
<sql id="selectPurchaseQuoteChildVo"> |
|
|
|
select purchase_quote_child_id, purchase_quote_code, material_id, material_code, |
|
|
|
material_name, material_type, processMethod, brand, photoUrl, `describe`, tax_rate, usd_rate, |
|
|
|
material_name, material_type, processMethod, material_model, brand, photoUrl, `describe`, tax_rate, usd_rate, |
|
|
|
material_num, material_sole, material_rmb, material_noRmb,supplier_code, supplier_name, |
|
|
|
create_by, create_time, update_by, update_time, remark, use_status, audit_status, |
|
|
|
del_flag from purchase_quote_child |
|
|
@ -42,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
|
|
|
<select id="selectPurchaseQuoteChildList" parameterType="PurchaseQuoteChild" resultMap="PurchaseQuoteChildResult"> |
|
|
|
select purchase_quote_child_id, purchase_quote_code, material_id, material_code, |
|
|
|
material_name, material_type, processMethod, brand, photoUrl, `describe`, tax_rate, usd_rate, |
|
|
|
material_name, material_type, processMethod, material_model, brand, photoUrl, `describe`, tax_rate, usd_rate, |
|
|
|
material_num, material_sole, material_rmb, material_noRmb,supplier_code, supplier_name, |
|
|
|
create_by, create_time, update_by, update_time, remark, use_status, audit_status, |
|
|
|
del_flag from purchase_quote_child |
|
|
@ -108,6 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="materialName != null">material_name,</if> |
|
|
|
<if test="materialType != null">material_type,</if> |
|
|
|
<if test="processMethod != null">processMethod,</if> |
|
|
|
<if test="materialModel != null">material_model,</if> |
|
|
|
<if test="brand != null">brand,</if> |
|
|
|
<if test="photoUrl != null">photoUrl,</if> |
|
|
|
<if test="describe != null">`describe`,</if> |
|
|
@ -135,6 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="materialName != null">#{materialName},</if> |
|
|
|
<if test="materialType != null">#{materialType},</if> |
|
|
|
<if test="processMethod != null">#{processMethod},</if> |
|
|
|
<if test="materialModel != null">#{materialModel},</if> |
|
|
|
<if test="brand != null">#{brand},</if> |
|
|
|
<if test="photoUrl != null">#{photoUrl},</if> |
|
|
|
<if test="describe != null">#{describe},</if> |
|
|
@ -166,6 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="materialName != null">material_name = #{materialName},</if> |
|
|
|
<if test="materialType != null">material_type = #{materialType},</if> |
|
|
|
<if test="processMethod != null">processMethod = #{processMethod},</if> |
|
|
|
<if test="materialModel != null">material_model = #{materialModel},</if> |
|
|
|
<if test="brand != null">brand = #{brand},</if> |
|
|
|
<if test="photoUrl != null">photoUrl = #{photoUrl},</if> |
|
|
|
<if test="describe != null">`describe` = #{describe},</if> |
|
|
|