diff --git a/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml b/agri-system/src/main/resources/mapper/system/SysAgriInfoMapper.xml index 700e6fb..7863604 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 and user_agri.status=1 + is_deleted = 0 and user_agri.user_id = #{userId} and agri.imei = #{imei} and agri.work_mode = #{workMode}