diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysPurchaseQuoteChildMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysPurchaseQuoteChildMapper.xml new file mode 100644 index 00000000..bdf17ef3 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/system/SysPurchaseQuoteChildMapper.xml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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_num, material_sole, material_rmb, material_noRmb, create_by, create_time, update_by, update_time, remark, use_status, audit_status, del_flag from sys_purchase_quote_child + + + + + + + + insert into sys_purchase_quote_child + + purchase_quote_code, + material_id, + material_code, + material_name, + material_type, + processMethod, + brand, + photoUrl, + describe, + tax_rate, + usd_rate, + material_num, + material_sole, + material_rmb, + material_noRmb, + create_by, + create_time, + update_by, + update_time, + remark, + use_status, + audit_status, + del_flag, + + + #{purchaseQuoteCode}, + #{materialId}, + #{materialCode}, + #{materialName}, + #{materialType}, + #{processMethod}, + #{brand}, + #{photoUrl}, + #{describe}, + #{taxRate}, + #{usdRate}, + #{materialNum}, + #{materialSole}, + #{materialRmb}, + #{materialNormb}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{useStatus}, + #{auditStatus}, + #{delFlag}, + + + + + update sys_purchase_quote_child + + purchase_quote_code = #{purchaseQuoteCode}, + material_id = #{materialId}, + material_code = #{materialCode}, + material_name = #{materialName}, + material_type = #{materialType}, + processMethod = #{processMethod}, + brand = #{brand}, + photoUrl = #{photoUrl}, + describe = #{describe}, + tax_rate = #{taxRate}, + usd_rate = #{usdRate}, + material_num = #{materialNum}, + material_sole = #{materialSole}, + material_rmb = #{materialRmb}, + material_noRmb = #{materialNormb}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + use_status = #{useStatus}, + audit_status = #{auditStatus}, + del_flag = #{delFlag}, + + where purchase_quote_child_id = #{purchaseQuoteChildId} + + + + delete from sys_purchase_quote_child where purchase_quote_child_id = #{purchaseQuoteChildId} + + + + delete from sys_purchase_quote_child where purchase_quote_child_id in + + #{purchaseQuoteChildId} + + + + + update sys_purchase_quote_child set del_flag = '1' where purchase_quote_child_id = #{purchaseQuoteChildId} + + + + update sys_purchase_quote_child set del_flag = '0' where purchase_quote_child_id = #{purchaseQuoteChildId} + + + \ No newline at end of file