Pārlūkot izejas kodu

【CHG】字段名混淆了

ZhaoMn 4 gadi atpakaļ
vecāks
revīzija
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">