From 07386c2258263d8f9c357f581d2ec2f3a4696cbf Mon Sep 17 00:00:00 2001
From: zuojincheng <lf_zuo@163.com>
Date: 星期二, 24 六月 2025 20:11:55 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStManureMapper.xml |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStManureMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStManureMapper.xml
index a70239a..eed8ceb 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStManureMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStManureMapper.xml
@@ -39,6 +39,55 @@
     from pr_st_manure
     where deleted != 1 ;
   </select>
+
+  <select id="selectOne" parameterType="java.lang.Long" resultType="com.dy.pipIrrGlobal.voPr.VoManure">
+    <!--@mbg.generated-->
+    SELECT tb.id,
+    tb.fbox_id AS fboxId,
+    tb.`no`,
+    tb.`name`,
+    tb.lng,
+    tb.lat,
+    tb.remark
+    FROM pr_st_manure tb
+    where id = #{id,jdbcType=BIGINT}
+  </select>
+
+  <!--鏍规嵁鎸囧畾鏉′欢鏌ヨ鎬绘暟-->
+  <select id="totalCount" parameterType="java.util.Map" resultType="java.lang.Long">
+    SELECT COUNT(*) AS recordCount
+    FROM pr_st_manure tb
+    <where>
+      tb.deleted != 1
+      <if test="name != null and name != ''">
+        AND tb.name LIKE CONCAT('%', #{name}, '%')
+      </if>
+    </where>
+  </select>
+  <!--鏍规嵁鎸囧畾鏉′欢鏌ヨ-->
+  <select id="selectSome" parameterType="java.util.Map" resultType="com.dy.pipIrrGlobal.voPr.VoManure">
+    SELECT tb.id,
+    tb.fbox_id AS fboxId,
+    tb.`no`,
+    tb.`name`,
+    tb.lng,
+    tb.lat,
+    tb.remark
+    FROM pr_st_manure tb
+    <where>
+      tb.deleted != 1
+      <if test="name != null and name != ''">
+        AND tb.name LIKE CONCAT('%', #{name}, '%')
+      </if>
+    </where>
+    ORDER BY tb.id DESC
+    <trim prefix="limit ">
+      <if test="start != null and count != null">
+        #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER}
+      </if>
+    </trim>
+  </select>
+
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
     <!--@mbg.generated-->
     delete from pr_st_manure

--
Gitblit v1.8.0