소스 검색

【BUG】写错表别名

xczzmn 4 년 전
부모
커밋
18c9214067
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      railway-business/src/main/resources/mapper/baseinfo/BaseDeptLineMapper.xml

+ 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!=''">