From b467f1a9f61739bf78b993aaf4a8907b6625e29f Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期一, 04 九月 2023 18:05:56 +0800
Subject: [PATCH] MOM系统-9-04 三个不合格查询

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

diff --git a/inspect-server/src/main/resources/mapper/RawInspectMapper.xml b/inspect-server/src/main/resources/mapper/RawInspectMapper.xml
index 1c9b84b..327ba05 100644
--- a/inspect-server/src/main/resources/mapper/RawInspectMapper.xml
+++ b/inspect-server/src/main/resources/mapper/RawInspectMapper.xml
@@ -3,6 +3,12 @@
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.yuanchu.mom.mapper.RawInspectMapper">
+    <!--鏍规嵁鍘熸潗鏂欐楠屽崟id鎵归噺鍒犻櫎-->
+    <update id="delAllRawIns">
+        update mom_ocean.raw_inspect
+        set state=0
+        where id in (${ids})
+    </update>
     <select id="selCountRaw" resultType="java.lang.Integer">
         select count(id)
         from mom_ocean.raw_inspect

--
Gitblit v1.9.3