浏览代码

【CHG】字段名混淆了

ZhaoMn 4 年之前
父节点
当前提交
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">