소스 검색

【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">