|
@ -19,7 +19,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="materialNum" column="material_num" /> |
|
|
<result property="materialNum" column="material_num" /> |
|
|
<result property="materialSole" column="material_sole" /> |
|
|
<result property="materialSole" column="material_sole" /> |
|
|
<result property="materialRmb" column="material_rmb" /> |
|
|
<result property="materialRmb" column="material_rmb" /> |
|
|
<result property="materialNormb" column="material_noRmb" /> |
|
|
<result property="materialNoRmb" column="material_noRmb" /> |
|
|
|
|
|
<result property="supplierCode" column="supplier_code" /> |
|
|
|
|
|
<result property="supplierName" column="supplier_name" /> |
|
|
<result property="createBy" column="create_by" /> |
|
|
<result property="createBy" column="create_by" /> |
|
|
<result property="createTime" column="create_time" /> |
|
|
<result property="createTime" column="create_time" /> |
|
|
<result property="updateBy" column="update_by" /> |
|
|
<result property="updateBy" column="update_by" /> |
|
@ -33,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<sql id="selectPurchaseQuoteChildVo"> |
|
|
<sql id="selectPurchaseQuoteChildVo"> |
|
|
select purchase_quote_child_id, purchase_quote_code, material_id, material_code, |
|
|
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, brand, photoUrl, `describe`, tax_rate, usd_rate, |
|
|
material_num, material_sole, material_rmb, material_noRmb, |
|
|
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, |
|
|
create_by, create_time, update_by, update_time, remark, use_status, audit_status, |
|
|
del_flag from purchase_quote_child |
|
|
del_flag from purchase_quote_child |
|
|
</sql> |
|
|
</sql> |
|
@ -41,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<select id="selectPurchaseQuoteChildList" parameterType="PurchaseQuoteChild" resultMap="PurchaseQuoteChildResult"> |
|
|
<select id="selectPurchaseQuoteChildList" parameterType="PurchaseQuoteChild" resultMap="PurchaseQuoteChildResult"> |
|
|
select purchase_quote_child_id, purchase_quote_code, material_id, material_code, |
|
|
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, brand, photoUrl, `describe`, tax_rate, usd_rate, |
|
|
material_num, material_sole, material_rmb, material_noRmb, |
|
|
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, |
|
|
create_by, create_time, update_by, update_time, remark, use_status, audit_status, |
|
|
del_flag from purchase_quote_child |
|
|
del_flag from purchase_quote_child |
|
|
<where> |
|
|
<where> |
|
@ -56,8 +58,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="describe != null and describe != ''"> and `describe` = #{describe}</if> |
|
|
<if test="describe != null and describe != ''"> and `describe` = #{describe}</if> |
|
|
<if test="materialNum != null "> and material_num = #{materialNum}</if> |
|
|
<if test="materialNum != null "> and material_num = #{materialNum}</if> |
|
|
<if test="materialSole != null "> and material_sole = #{materialSole}</if> |
|
|
<if test="materialSole != null "> and material_sole = #{materialSole}</if> |
|
|
<if test="materialRmb != null "> and material_rmb = #{materialRmb}</if> |
|
|
|
|
|
<if test="materialNormb != null "> and material_noRmb = #{materialNormb}</if> |
|
|
|
|
|
<if test="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if> |
|
|
<if test="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if> |
|
|
<if test="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if> |
|
|
<if test="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if> |
|
|
</where> |
|
|
</where> |
|
@ -85,7 +85,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="materialNum != null">material_num,</if> |
|
|
<if test="materialNum != null">material_num,</if> |
|
|
<if test="materialSole != null">material_sole,</if> |
|
|
<if test="materialSole != null">material_sole,</if> |
|
|
<if test="materialRmb != null">material_rmb,</if> |
|
|
<if test="materialRmb != null">material_rmb,</if> |
|
|
<if test="materialNormb != null">material_noRmb,</if> |
|
|
<if test="materialNoRmb != null">material_noRmb,</if> |
|
|
|
|
|
<if test="supplierCode != null">supplier_code,</if> |
|
|
|
|
|
<if test="supplierName != null">supplier_name,</if> |
|
|
<if test="createBy != null">create_by,</if> |
|
|
<if test="createBy != null">create_by,</if> |
|
|
<if test="createTime != null">create_time,</if> |
|
|
<if test="createTime != null">create_time,</if> |
|
|
<if test="updateBy != null">update_by,</if> |
|
|
<if test="updateBy != null">update_by,</if> |
|
@ -110,7 +112,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="materialNum != null">#{materialNum},</if> |
|
|
<if test="materialNum != null">#{materialNum},</if> |
|
|
<if test="materialSole != null">#{materialSole},</if> |
|
|
<if test="materialSole != null">#{materialSole},</if> |
|
|
<if test="materialRmb != null">#{materialRmb},</if> |
|
|
<if test="materialRmb != null">#{materialRmb},</if> |
|
|
<if test="materialNormb != null">#{materialNormb},</if> |
|
|
<if test="materialNoRmb != null">#{materialNormb},</if> |
|
|
|
|
|
<if test="supplierCode != null">#{supplierCode},</if> |
|
|
|
|
|
<if test="supplierName != null">#{supplierName},</if> |
|
|
<if test="createBy != null">#{createBy},</if> |
|
|
<if test="createBy != null">#{createBy},</if> |
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
<if test="updateBy != null">#{updateBy},</if> |
|
|
<if test="updateBy != null">#{updateBy},</if> |
|
@ -139,7 +143,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="materialNum != null">material_num = #{materialNum},</if> |
|
|
<if test="materialNum != null">material_num = #{materialNum},</if> |
|
|
<if test="materialSole != null">material_sole = #{materialSole},</if> |
|
|
<if test="materialSole != null">material_sole = #{materialSole},</if> |
|
|
<if test="materialRmb != null">material_rmb = #{materialRmb},</if> |
|
|
<if test="materialRmb != null">material_rmb = #{materialRmb},</if> |
|
|
<if test="materialNormb != null">material_noRmb = #{materialNormb},</if> |
|
|
<if test="materialNoRmb != null">material_noRmb = #{materialNoRmb},</if> |
|
|
|
|
|
<if test="supplierCode != null">supplier_code = #{supplierCode},</if> |
|
|
|
|
|
<if test="supplierName != null">supplier_name = #{supplierName},</if> |
|
|
<if test="createBy != null">create_by = #{createBy},</if> |
|
|
<if test="createBy != null">create_by = #{createBy},</if> |
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
<if test="updateBy != null">update_by = #{updateBy},</if> |
|
|
<if test="updateBy != null">update_by = #{updateBy},</if> |
|
|