hfxc226 2 vuotta sitten
vanhempi
commit
b9c4fb06e1

+ 1 - 1
platform-dao/src/main/resources/mapper/sb/SbPositionMapper.xml

@@ -26,7 +26,7 @@
             position.no like concat('%',#{keyword},'%'))
         </if>
         <if test="parentId != null and parentId != ''">
-            and ( position.parent_id = #{parentId} or position.id = #{parentId})
+            and position.parent_id = #{parentId}
         </if>
         <if test="parentCode != null and parentCode != ''">
             and position.code like concat(#{parentCode},'%')