From 68f6642d4d1fff10c6bd898d69dd7bff27adbc16 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期日, 24 九月 2023 15:18:29 +0800
Subject: [PATCH] 修改2.0 9.24
---
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