From 788c1884ef48850de5c37fa214269ffdd1a2a3c5 Mon Sep 17 00:00:00 2001 From: zhangsiqi <2825463979@qq.com> Date: Wed, 15 May 2024 17:01:28 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E9=87=87=E8=B4=AD=E6=8A=A5=E4=BB=B7?= =?UTF-8?q?=E5=8D=95=E7=89=A9=E6=96=99=E4=BF=A1=E6=81=AF=E8=A1=A8SQL?= =?UTF-8?q?=E8=AF=AD=E5=8F=A5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/SysPurchaseQuoteChildMapper.xml | 167 ++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 ruoyi-admin/src/main/resources/mapper/system/SysPurchaseQuoteChildMapper.xml 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