Browse Source

成果列表显示BUG修复

anderx 8 years ago
parent
commit
8f7d4caeb9

+ 1 - 1
src/main/java/com/goafanti/common/mapper/AchievementMapper.xml

@@ -1329,7 +1329,7 @@
   	where a.deleted_sign = 0 
   	and ap.publish_client=0
 	and ap.publish_page='W02'
-	and bi.domain_name like '%#{url,jdbcType=VARCHAR}%'
+	and bi.domain_name like "%"#{url,jdbcType=VARCHAR}"%"
   	<if test="dataCategory != null and dataCategory != ''">
   		and a.data_category = #{dataCategory,jdbcType=INTEGER}
   	</if>

+ 1 - 0
src/main/java/com/goafanti/common/mapper/UserIdentityMapper.xml

@@ -1041,6 +1041,7 @@
 				group by  seller_id ) o on t.uid=o.seller_id
 	where expert=1
 	and u.status !=1
+	and t.expert_audit =2
 	<if test="industry != null">
         and t.industry = #{industry,jdbcType=VARCHAR}
     </if>

+ 0 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -31,7 +31,6 @@
 		left join industry_category c on b.industry = c.id
 		left join admin d on a.aid = d.id 		
 		where a.type = 0  and a.status != 1 and a.audit_status = 1	
-		AND a.audit_status=1
 		<if test="aid != null and aid !=''">
 			and a.aid = #{aid,jdbcType=VARCHAR}
 		</if>