zwhui 1 年之前
父节点
当前提交
4388113ffe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netflix-dao/src/main/resources/mapper/WebInfoMapper.xml

+ 1 - 1
netflix-dao/src/main/resources/mapper/WebInfoMapper.xml

@@ -4,7 +4,7 @@
 <mapper namespace="com.cyksj.mapper.WebInfoMapper">
 
     <select id="getWebInfo" resultType="com.cyksj.model.views.WebInfoView">
-        select w.id,w.show_id,u.id as userId,u.nickname,w.prefix,w.shop_name,w.status from web_info w left join user u left join w.show_id = u.show_id
+        select w.id,w.show_id,u.id as userId,u.nickname,w.prefix,w.shop_name,w.status from web_info w left join user u on w.show_id = u.show_id
         <where>
             <if test="prefix != null">
                 and w.prefix = #{prefix}