[Update] Condition dao
This commit is contained in:
		
							parent
							
								
									0156d2d661
								
							
						
					
					
						commit
						8cdfdcb4e6
					
				| 
						 | 
					@ -9,7 +9,7 @@ import (
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// DistinctWithField ...
 | 
					// DistinctWithField ...
 | 
				
			||||||
func (w Warehouse) DistinctWithField(p model.FindWithCondition) ([]interface{}, error) {
 | 
					func (w Warehouse) DistinctWithField(p model.DistinctWithField) ([]interface{}, error) {
 | 
				
			||||||
	msg, err := natsio.GetServer().Request(subject.Warehouse.Distinct, bsonToBytes(p))
 | 
						msg, err := natsio.GetServer().Request(subject.Warehouse.Distinct, bsonToBytes(p))
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		return nil, err
 | 
							return nil, err
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue