Browse Source

首页显示BUG修复

anderx 8 years ago
parent
commit
5410152029
1 changed files with 14 additions and 14 deletions
  1. 14 14
      src/main/java/com/goafanti/common/mapper/MarketingManagementMapper.xml

+ 14 - 14
src/main/java/com/goafanti/common/mapper/MarketingManagementMapper.xml

@@ -382,20 +382,20 @@ where x.audit_status = 3
 	and bi.domain_name like "%"#{url,jdbcType=VARCHAR}"%" 
   	</if>
   	<if test="category == 7"> <!-- 智者 -->
-  		select 
-  		u.id,i.username,u.ability_label as abilityLabel,
-  		u.introduction as achievement,u.head_portrait_url as headPortraitUrl,u.type,i.expert 
-  		from `user` u
-  		left join user_ability ua on u.id=ua.uid
-  		left join user_career c on u.id=c.uid
-  		left join user_identity i on u.id=i.uid
-  		right join expert_publish ep on ep.expert_id=u.id
-  		left join branch_information bi on bi.id=ep.publish_platform
-  		WHERE
-		u.type = 0 and 
-		i.expert = 1	
-		and ep.publish_client='0'
-		and ep.publish_page='W01'
+  		select
+                u.id,i.username,ua.ability_label as abilityLabel,
+                u.introduction as achievement,u.head_portrait_url as headPortraitUrl,u.type,i.expert
+                from `user` u
+                left join user_ability ua on u.id=ua.uid
+                left join user_career c on u.id=c.uid
+                left join user_identity i on u.id=i.uid
+                right join expert_publish ep on ep.expert_id=u.id
+                left join branch_information bi on bi.id=ep.publish_platform
+                WHERE
+                u.type = 0 and
+                i.expert = 1
+                and ep.publish_client='0'
+                and ep.publish_page='W01'
 		and bi.domain_name like "%"#{url,jdbcType=VARCHAR}"%" 
 		
   	</if>