You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							267 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							18 lines
						
					
					
						
							267 B
						
					
					
				| package sysService | |
| 
 | |
| import ( | |
| 	"GoBanpen/core/comm" | |
| 	"GoBanpen/models" | |
| ) | |
| 
 | |
| func FindFile(uuid string) *models.SysFile { | |
| 	e := new(models.SysFile) | |
| 	ok, err := comm.DbMain.Where("uuid=?", uuid).Get(e) | |
| 	if err != nil { | |
| 		return nil | |
| 	} | |
| 	if ok { | |
| 		return e | |
| 	} | |
| 	return nil | |
| }
 |