From 5f72ddd4ca8a10d5dcb4e1ab79463593317ffbe6 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期一, 28 八月 2023 14:22:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/inspect-server/src/main/resources/mapper/RawInspectMapper.xml b/inspect-server/src/main/resources/mapper/RawInspectMapper.xml
index e2d212b..a5b294b 100644
--- a/inspect-server/src/main/resources/mapper/RawInspectMapper.xml
+++ b/inspect-server/src/main/resources/mapper/RawInspectMapper.xml
@@ -39,4 +39,28 @@
         order by id desc
         limit #{pageSize},#{countSize}
     </select>
+    <select id="selCountRaw" resultType="java.lang.Integer">
+        select count(id)
+        from mom_ocean.raw_inspect
+        where state=1
+        and ins_state=1
+        and judge_state=#{judgeState}
+        <if test="begin != null and begin!=''">
+            and raw_inspect.create_time &gt;= #{begin}
+        </if>
+        <if test="end != null and end!=''">
+            and raw_inspect.create_time &lt;= #{end}
+        </if>
+    </select>
+    <select id="seAllCount" resultType="java.lang.Long">
+        select count(id)
+        from mom_ocean.raw_inspect
+        where state=1
+        <if test="begin != null and begin!=''">
+            and raw_inspect.create_time &gt;= #{begin}
+        </if>
+        <if test="end != null and end!=''">
+            and raw_inspect.create_time &lt;= #{end}
+        </if>
+    </select>
 </mapper>

--
Gitblit v1.9.3