mitao
1 天以前 757c842e59a30c4bad5a44642cbac8bb11f5bcc7
ruoyi-system/src/main/resources/mapper/system/AssetMainMapper.xml
@@ -136,7 +136,7 @@
            <if test="query != null and query.assetTypeId != null">
                AND (am.asset_type_id = #{query.assetTypeId} OR FIND_IN_SET(#{query.assetTypeId},at.parent_id))
            </if>
            <if test="query != null and query.ownershipDeptId != null">
            <if test="query != null and query.ownershipDeptId != null and query.ownershipDeptId != 100 and query.ownershipDeptId != 102">
                AND am.ownership_dept_id = #{query.ownershipDeptId}
            </if>
            <if test="query != null and query.assetStatus != null and query.assetStatus != ''">