瀏覽代碼

完善opc

hfxc226 2 年之前
父節點
當前提交
b9c4fb06e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform-dao/src/main/resources/mapper/sb/SbPositionMapper.xml

+ 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},'%')