From 05981a8e1db6adcb3dc79907fc22453fb2e51230 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期日, 24 九月 2023 18:30:28 +0800
Subject: [PATCH] 销售订单导出

---
 inventory-server/src/main/resources/mapper/SaleMaterialMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/inventory-server/src/main/resources/mapper/SaleMaterialMapper.xml b/inventory-server/src/main/resources/mapper/SaleMaterialMapper.xml
index a83f25e..b649428 100644
--- a/inventory-server/src/main/resources/mapper/SaleMaterialMapper.xml
+++ b/inventory-server/src/main/resources/mapper/SaleMaterialMapper.xml
@@ -1,6 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.yuanchu.mom.mapper.SaleMaterialMapper">
+    <!--鏍规嵁閿�鍞崟id鎵归噺鍒犻櫎-->
+    <update id="delAllSale">
+        update mom_ocean.sale_material
+        set state=0
+        where sale_id in (${ids})
+    </update>
     <select id="selectSaleDatil" resultType="com.yuanchu.mom.pojo.SaleMaterial">
         select id,
                name,

--
Gitblit v1.9.3