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}