From e35849618cc8d0615c09335959b76d0cca667679 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 13 八月 2025 16:54:04 +0800
Subject: [PATCH] 有wechat模块中增加查询水肥机、墒情站、气象站所有实体的功能
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/MdCropsMapper.xml | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/MdCropsMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/MdCropsMapper.xml
index bac046b..aa909aa 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/MdCropsMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/MdCropsMapper.xml
@@ -169,9 +169,7 @@
</select>
<select id="selectSome" parameterType="java.util.Map" resultType="com.dy.pipIrrGlobal.voMd.VoCrops">
select
- <include refid="Part_Column_List" >
- <property name="alias" value="bd"/>
- </include>
+ <include refid="Part_Column_List" />
from md_crops tb
where tb.deleted != 1
<trim prefix="and" suffixOverrides="and">
@@ -187,6 +185,16 @@
</trim>
</select>
+ <select id="selectAll" resultType="com.dy.pipIrrGlobal.voMd.VoCrops">
+ select
+ <include refid="Part_Column_List" >
+ <property name="alias" value="tb"/>
+ </include>
+ from md_crops tb
+ where tb.deleted != 1
+ order by tb.id ASC
+ </select>
+
<update id="deleteById" parameterType="java.lang.Long">
update md_crops
set deleted = 1
--
Gitblit v1.8.0