Przeglądaj źródła

【BUG】写错表别名

xczzmn 4 lat temu
rodzic
commit
18c9214067

+ 1 - 1
railway-business/src/main/resources/mapper/baseinfo/BaseDeptLineMapper.xml

@@ -145,7 +145,7 @@
   <select id="getDeptByLineId" resultMap="BaseResultMap">
     SELECT t.dept_id, d.dept_name
     FROM base_dept_line t
-    LEFT JOIN sys_dept e on t.dept_id = d.dept_id
+    LEFT JOIN sys_dept d on t.dept_id = d.dept_id
     <where>
       t.del_flag='0'
       <if test="lineId!=null and lineId!=''">