|
|
@@ -33,23 +33,6 @@ public class ScWebController extends BaseController{
|
|
|
mv.setViewName("sc/achievement");
|
|
|
inputAchievement s=scAchievementService.AchievementDetails(id);
|
|
|
mv.addObject("achievementList",s);
|
|
|
-
|
|
|
- if(s!=null&&s.getIndustry()!=null){
|
|
|
- if (s.getIndustry().equals("1")) {
|
|
|
- s.setIndustryName( "先进制造与自动化");
|
|
|
- }if (s.getIndustry().equals("2")) {
|
|
|
- s.setIndustryName( "电子信息技术");
|
|
|
- }if (s.getIndustry().equals("3")) {
|
|
|
- s.setIndustryName( "新材料技术");
|
|
|
- }if (s.getIndustry().equals("4")) {
|
|
|
- s.setIndustryName( "生物与新药");
|
|
|
- }if (s.getIndustry().equals("6")) {
|
|
|
- s.setIndustryName( "资源与环境");
|
|
|
- }if (s.getIndustry().equals("7")) {
|
|
|
- s.setIndustryName( "新能源");
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
/*List<ScMessageListBo> obj = (List<ScMessageListBo>)commonService.listMessage(id,10,1).getList();
|
|
|
JSONObject jo = new JSONObject();
|
|
|
System.out.println(jo.toJSON(obj).toString());*/
|
|
|
@@ -68,21 +51,6 @@ public class ScWebController extends BaseController{
|
|
|
}
|
|
|
inputDemands s=scDemandService.demandDetails(id);
|
|
|
mv.addObject("demandList", s);
|
|
|
- if(s!=null&&s.getIndustry()!=null){
|
|
|
- if (s.getIndustry().equals("1")) {
|
|
|
- s.setIndustryName( "先进制造与自动化");
|
|
|
- }if (s.getIndustry().equals("2")) {
|
|
|
- s.setIndustryName( "电子信息技术");
|
|
|
- }if (s.getIndustry().equals("3")) {
|
|
|
- s.setIndustryName( "新材料技术");
|
|
|
- }if (s.getIndustry().equals("4")) {
|
|
|
- s.setIndustryName( "生物与新药");
|
|
|
- }if (s.getIndustry().equals("6")) {
|
|
|
- s.setIndustryName( "资源与环境");
|
|
|
- }if (s.getIndustry().equals("7")) {
|
|
|
- s.setIndustryName( "新能源");
|
|
|
- }
|
|
|
- }
|
|
|
mv.addObject("listMessage", commonService.listMessage(id,10,1).getList());
|
|
|
return mv;
|
|
|
}
|