From 92b5bfd6760339e1058d290e4805334ab1fbcb4e Mon Sep 17 00:00:00 2001 From: sxu <1539530615@qq.com> Date: Fri, 8 Dec 2023 17:52:22 +0800 Subject: [PATCH] fix --- .../src/main/resources/mapper/DevInfoMapper.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml index 578187f..f0febf4 100644 --- a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml +++ b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml @@ -59,8 +59,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and d.ma_id = #{maId} and d.code = #{code} - - and d.type_id = #{typeId} or t.parent_id = #{typeId} + + + and t.parent_id = #{typeId} + + + and d.type_id = #{typeId} + and d.ma_status = #{maStatus} and d.lease_scope = #{leaseScope}