| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -691,7 +691,7 @@ public class CustomerServiceImpl extends BaseServiceImpl<CustomerDao, CustomerEn | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new RenException(ModuleConstant.SELECT_CUSTOMER_ERROR); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //2.校验数据合格性
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (entity.getGridNumber() > formDTO.getGridNumber()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (entity.getGridNumber() > formDTO.getMaxGridNumber()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new RenException(ModuleConstant.GRID_NUMBER_ERROR); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd"); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -703,7 +703,7 @@ public class CustomerServiceImpl extends BaseServiceImpl<CustomerDao, CustomerEn | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //3.更新数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        CustomerEntity customerEntity = new CustomerEntity(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerEntity.setId(formDTO.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerEntity.setGridNumber(formDTO.getGridNumber()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerEntity.setGridNumber(formDTO.getMaxGridNumber()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        customerEntity.setValidityTime(dt1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (baseDao.updateById(customerEntity) < NumConstant.ONE) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new RenException(ModuleConstant.UPDATE_CUSTOMER_ERROR); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |