| 
					
				 | 
			
			
				@@ -8,6 +8,8 @@ import java.util.LinkedList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.Set; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.stream.Collectors; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.pm.common.config.PageData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.pm.common.constant.Constants; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -553,4 +555,31 @@ public class SysMenuServiceImpl implements ISysMenuService 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return StringUtils.replaceEach(path, new String[] { Constants.HTTP, Constants.HTTPS, Constants.WWW, ".", ":" }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 new String[] { "", "", "", "/", "/" }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public List<PageData> listNoticeRead(PageData pd) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return menuMapper.listNoticeRead(pd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 获取首页所有统计信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param pd 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public List<PageData> showAllCountData(PageData pd) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (StringUtils.isNotEmpty(pd.get("company_code").toString())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            pd.put("company_code",SecurityUtils.getDeptId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        List<PageData> list = menuMapper.showAllCountData(pd);// 获取设备总数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Integer list1 = menuMapper.showAllYnCountData(pd);// 获取设备总数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        list.get(0).put("sum_num",list1); //  级联 设备总数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public int listNoticeReadShow(PageData pd) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return menuMapper.listNoticeReadShow(pd); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |