| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -80,10 +80,14 @@ public class MouldPatchServiceImpl implements MouldPatchService { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    @Override | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    public void updateOnline(MouldPatch record) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        Date now = new Date(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        MouldPatch mouldPatchUpd = new MouldPatch(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        mouldPatchUpd.setId(record.getId()); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        mouldPatchUpd.setStatus(record.getStatus()); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        mouldPatchUpd.setUpdateDate(new Date()); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if(EnumaMouldPatchStatus.put_on.getCode().equals(mouldPatchUpd.getStatus())){ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            mouldPatchUpd.setPutonDate(now); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        mouldPatchUpd.setUpdateDate(now); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        mouldPatchMapper.updateById(mouldPatchUpd); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
	
		
			
				| 
				
				
				
				 | 
			
			 | 
			
  |