|
|
@@ -4,16 +4,20 @@ 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.banners.service.BannersService;
|
|
|
import com.goafanti.business.bo.JtBusinessCategoryBo;
|
|
|
import com.goafanti.business.bo.JtBusinessCategoryTree;
|
|
|
@@ -23,7 +27,10 @@ import com.goafanti.common.bo.PolicyEntity;
|
|
|
import com.goafanti.common.bo.Result;
|
|
|
import com.goafanti.common.bo.fieldGlossoryBo;
|
|
|
import com.goafanti.common.constant.AFTConstants;
|
|
|
+import com.goafanti.common.constant.ErrorConstants;
|
|
|
import com.goafanti.common.dao.ProjectInterestMapper;
|
|
|
+import com.goafanti.common.enums.BusinessCategoryModule;
|
|
|
+import com.goafanti.common.enums.ConsultantType;
|
|
|
import com.goafanti.common.model.AchievementInterest;
|
|
|
import com.goafanti.common.model.Banners;
|
|
|
import com.goafanti.common.model.DemandInterest;
|
|
|
@@ -1283,8 +1290,11 @@ public class WebpageController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/portal/adviser/adviserDetail", method = RequestMethod.GET)
|
|
|
- public ModelAndView adviserDetail(ModelAndView modelview){
|
|
|
+ public ModelAndView adviserDetail(ModelAndView modelview,String id){
|
|
|
modelview.setViewName("/portal/adviser/adviserDetail");
|
|
|
+ ExpertsListBo adviserDetail = userIdentityService.selectExpertsDetail(id);
|
|
|
+ adviserDetail.setConsultantTypeName(ConsultantType.getDesc(adviserDetail.getConsultantType()));
|
|
|
+ modelview.addObject("adviserDetail", adviserDetail);
|
|
|
return modelview;
|
|
|
}
|
|
|
|