| 
					
				 | 
			
			
				@ -109,12 +109,12 @@ public class DeviceManageService extends BaseJpaService<DeviceDetail,DeviceDetai 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put(ResponseContant.resultMsg,"设备类型不存在"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (0==deviceDao.findTotalByName(deviceName)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (0==deviceDao.findTotalByCategoryCodeAndName(categoryCode,deviceName)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put(ResponseContant.resultFlag,ResponseContant.fail); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put(ResponseContant.resultMsg,"设备名称不存在"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (0==deviceDao.findTotalByModel(deviceModel)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (0==deviceDao.findTotalByCodeNameModel(categoryCode,deviceName,deviceModel)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put(ResponseContant.resultFlag,ResponseContant.fail); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result.put(ResponseContant.resultMsg,"设备型号不存在"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return result; 
			 |