Explorar el Código

【CHG】字段名混淆了

ZhaoMn hace 4 años
padre
commit
c2bc0c059c

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