|
@@ -114,17 +114,20 @@ public class AdminsBackController extends BaseController {
|
|
|
ModelAndView result = new ModelAndView("admin/index");
|
|
|
request.getSession().setAttribute(AppConst.Session_Admin, admin);
|
|
|
result.addObject("admin", admin);
|
|
|
+
|
|
|
+ /*后台管理 留言反馈 显示提示信息 */
|
|
|
List<Feedback> feedbackList = iFeedBackService.listFeedBackInfo(null,"0",1,Integer.MAX_VALUE);
|
|
|
if(feedbackList != null){
|
|
|
result.addObject("unread", feedbackList.size());
|
|
|
}else{
|
|
|
result.addObject("unread", 0);
|
|
|
}
|
|
|
+
|
|
|
+ /*后台管理 经销商和服务商认证模块 显示提示信息*/
|
|
|
List<Authentication> authentications = iAuthenticationService.listAuthenticationInfoProvider("","1","","",1,Integer.MAX_VALUE);
|
|
|
List<Authentication> authentications1 = iAuthenticationService.listAuthenticationInfoProvider("","0","","",1,Integer.MAX_VALUE);
|
|
|
List<Authentication> authentications2 = iAuthenticationService.listAuthenticationInfoSupplier("","1","","",1,Integer.MAX_VALUE);
|
|
|
List<Authentication> authentications3 = iAuthenticationService.listAuthenticationInfoSupplier("","0","","",1,Integer.MAX_VALUE);
|
|
|
-
|
|
|
if (authentications != null || authentications1 != null ||authentications2 != null || authentications3 != null){
|
|
|
result.addObject("unAuthentication",authentications.size()+authentications1.size());
|
|
|
result.addObject("unAuthenticationSupplier",authentications2.size()+authentications3.size());
|
|
@@ -132,6 +135,7 @@ public class AdminsBackController extends BaseController {
|
|
|
result.addObject("unAuthentication",0);
|
|
|
result.addObject("unAuthenticationSupplier",0);
|
|
|
}
|
|
|
+
|
|
|
return result;
|
|
|
}else{
|
|
|
ModelAndView result = new ModelAndView("admin/login");
|