From da808bb6924ac2784b1620b8ce90d69f7c1169ed Mon Sep 17 00:00:00 2001
From: lld <15027638633@163.com>
Date: Sun, 5 Apr 2026 16:33:21 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/system/SysAgriInfoMapper.xml | 4 ++--
.../src/main/resources/mapper/system/SysUserAgriMapper.xml | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml b/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml
index 13f06de..700e6fb 100644
--- a/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml
+++ b/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml
@@ -179,7 +179,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and user_agri.user_id is null
- is_deleted = 0
+ is_deleted = 0 and user_agri.status=1
and user_agri.user_id = #{userId}
and agri.imei = #{imei}
and agri.work_mode = #{workMode}
@@ -194,7 +194,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"