Kaynağa Gözat

顾问列表修改

anderx 7 yıl önce
ebeveyn
işleme
d321c6c38a

+ 0 - 4
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -4,21 +4,17 @@ package com.goafanti.common.controller;
 import java.util.Arrays;
 import java.util.Date;
 import java.util.List;
-
 import javax.annotation.Resource;
 import javax.servlet.http.HttpServletRequest;
-
 import org.apache.commons.lang3.time.DateFormatUtils;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.ResponseBody;
 import org.springframework.web.servlet.ModelAndView;
-
 import com.goafanti.achievement.service.AchievementInterestService;
 import com.goafanti.achievement.service.AchievementService;
 import com.goafanti.app.bo.ExpertsListBo;
-import com.goafanti.app.bo.consultantListBo;
 import com.goafanti.banners.service.BannersService;
 import com.goafanti.business.bo.JtBusinessCategoryBo;
 import com.goafanti.business.bo.JtBusinessCategoryTree;

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

@@ -1317,7 +1317,7 @@ from
 			left join jt_consult_order b on a.order_no=b.order_no
 			group by b.seller_id)x on u.id=x.uid
 	left join( select count(*) as count, to_uid from user_interest group by to_uid) a 
-	on u.id = a.to_uid left join( select to_uid from user_interest where from_uid ='1' ) b
+	on u.id = a.to_uid left join( select to_uid from user_interest where from_uid =#{uid,jdbcType=VARCHAR} ) b
 	on u.id = b.to_uid 
 	where u.status = 0 and u.source = 0 
 	and ui.expert = 2 and ui.audit_status=2