|  | @ -65,8 +65,11 @@ public class ZjxlSystemDictService extends BaseService {
 | 
	
		
			
				|  |  |         return systemDictList;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public int allCount(){
 | 
	
		
			
				|  |  |     public int allCount(String systemDictType){
 | 
	
		
			
				|  |  |         String sql = "select count(*) from zjxl_system_dict ";
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(systemDictType)){
 | 
	
		
			
				|  |  |             sql +="where  system_dict_type ='"+systemDictType+"'";
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         Integer allCount = jdbcTemplate.queryForObject(sql, Integer.class);;
 | 
	
		
			
				|  |  |         return allCount;
 | 
	
		
			
				|  |  |     }
 | 
	
	
		
			
				|  | @ -97,16 +100,19 @@ public class ZjxlSystemDictService extends BaseService {
 | 
	
		
			
				|  |  |         ZjxlSystemDict zjxlSystemDict = systemDictDao.findBySystemDictId(systemDictId);
 | 
	
		
			
				|  |  |         if (zjxlSystemDict ==null){
 | 
	
		
			
				|  |  |             result.put("status",-1);
 | 
	
		
			
				|  |  |             return result;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         int systemDictClassifyList = findSystemDictClassify(systemDictClassify);
 | 
	
		
			
				|  |  |         //查询子分类是否存在
 | 
	
		
			
				|  |  |         int systemDictSubclassifyList = findSystemDictSubclassify(systemDictSubclassify);
 | 
	
		
			
				|  |  |         if (systemDictClassifyList>0&&systemDictSubclassifyList>0){
 | 
	
		
			
				|  |  |             result.put("status",0);
 | 
	
		
			
				|  |  |             return result;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         else{
 | 
	
		
			
				|  |  |             if (StringUtils.isBlank(systemDictClassify)||StringUtils.isBlank(systemDictSubclassify)){
 | 
	
		
			
				|  |  |                 result.put("status",-2);
 | 
	
		
			
				|  |  |                 return result;
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             else{
 | 
	
		
			
				|  |  |                 SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式
 |