jiangshuai
2023-11-13 f16252d8b4736a0212b14a2bfb0eeee411d0cc76
models/operation_type.go
@@ -135,6 +135,10 @@
      db = db.Where("warehouse_id = ?", slf.WarehouseId)
   }
   if int(slf.BaseOperationType) != 0 {
      db = db.Where("base_operation_type = ?", slf.BaseOperationType)
   }
   return db
}