lyhzzz 8 달 전
부모
커밋
ebb64fd9f7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/resources/mapper/agent/AgentNewLogMapper.xml

+ 2 - 2
src/main/resources/mapper/agent/AgentNewLogMapper.xml

@@ -23,8 +23,8 @@
     </select>
 
     <select id="pageUnList" resultType="com.fdkankan.agent.response.LogListVo">
-        select  l.*,u.nick_name,u.user_name,u.email,u.create_time as userCreateTime ,a.agent_name as agentName  from t_agent_new_log l
-            left join  t_agent a on l.agent_id = a.id
+        select  l.*,u.nick_name,u.user_name,u.email,u.create_time as userCreateTime ,a.name as agentName from t_agent_new_log l
+            left join  t_agent_new a on l.agent_id = a.id
             left join  t_user u on l.user_id = u.id
         where l.agent_id in
         <foreach collection="param.agentIds" item="agentId" open="(" separator="," close=")">