zhangjr 4 rokov pred
rodič
commit
09b9345d79
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/main/resources/mapper/base/Dept.xml

+ 1 - 1
src/main/resources/mapper/base/Dept.xml

@@ -26,7 +26,7 @@
 	<select id="treeList" resultType="am.lodge.platform.model.Dept">
 		select id, name, case when PARENT_ID ='' or PARENT_ID is null then org_id else PARENT_ID end as parentId from SYS_Dept
 		where org_id = #{orgId}
-		<if test="deptId!='' and deptId!='11421101'.toString()"> and id= #{deptId}</if>
+		<if test="deptId!='11421101'.toString()"> and id= #{deptId}</if>
 		order by order_Num
 	</select>