From 22899f74279a47f4ec79e1325f8489d948ced005 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 15 九月 2023 17:24:44 +0800
Subject: [PATCH] 修改2.0 9.15
---
inventory-server/src/main/resources/mapper/SaleMapper.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/inventory-server/src/main/resources/mapper/SaleMapper.xml b/inventory-server/src/main/resources/mapper/SaleMapper.xml
index d218129..0c674fa 100644
--- a/inventory-server/src/main/resources/mapper/SaleMapper.xml
+++ b/inventory-server/src/main/resources/mapper/SaleMapper.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.SaleMapper">
+ <!--鎵归噺鍒犻櫎-->
+ <update id="delAllSale">
+ update mom_ocean.sale
+ set state=0
+ where id in (${ids})
+ </update>
<select id="selectSaleList" resultType="java.util.Map">
select id,
order_number,
@@ -56,6 +62,5 @@
and s.create_time=#{time}
</if>
order by delTime
-
</select>
</mapper>
--
Gitblit v1.9.3