jiangshuai
2023-11-16 a0125ef3d6ce35be7b6dc4919c4192dba4a7329a
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
}