jiangshuai
2023-10-23 0551df1d2a65876b2427df112e37625f128b67e4
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
}