ZhaoMn 4 лет назад
Родитель
Сommit
c2bc0c059c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      railway-system/src/main/resources/mapper/system/SysDeptMapper.xml

+ 1 - 1
railway-system/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -69,7 +69,7 @@
 
   <select id="selectDeptById" parameterType="Long" resultMap="SysDeptResult">
     <include refid="selectDeptVo"/>
-    where dept_id = #{deptId}
+    where d.dept_id = #{deptId}
   </select>
 
   <select id="checkDeptExistUser" parameterType="Long" resultType="int">