| 
					
				 | 
			
			
				@ -1,6 +1,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				package cn.stylefeng.guns.zjxl.service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import cn.stylefeng.guns.zjxl.dao.ZjxlSystemDictDao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import cn.stylefeng.guns.zjxl.model.ZjxlArticleContent; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import cn.stylefeng.guns.zjxl.model.ZjxlSystemDict; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import cn.stylefeng.guns.zjxlUtil.BaseService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.apache.commons.lang3.StringUtils; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -33,6 +34,19 @@ public class ZjxlSystemDictService extends BaseService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return dict.getSystemDictId(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public int findSystemDictClassify(String systemDictClassify){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sql = "select count(1) from zjxl_system_dict where system_dict_classify = '"+systemDictClassify+"' "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Integer articleContentList = jdbcTemplate.queryForObject(sql, Integer.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return articleContentList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public int findSystemDictSubclassify(String systemDictSubclassify){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sql = "select count(1) from zjxl_system_dict where system_dict_subclassify = '"+systemDictSubclassify+"' "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Integer articleContentList = jdbcTemplate.queryForObject(sql, Integer.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return articleContentList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public List<ZjxlSystemDict> findSystemDictById(String id,Integer systemDictType,Integer page,Integer pagesize){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sql = "select * from zjxl_system_dict where 1=1 "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (StringUtils.isNotEmpty(id)){ 
			 |