diff --git a/New_College.Model/Models/RootEntity.cs b/New_College.Model/Models/RootEntity.cs
index 5fefb8d..da849c4 100644
--- a/New_College.Model/Models/RootEntity.cs
+++ b/New_College.Model/Models/RootEntity.cs
@@ -64,7 +64,7 @@ namespace New_College.Model.Models
///
/// 租户id
///
- public virtual int? TenantId { get; set; }
+ public virtual long? TenantId { get; set; }
}
///
///带上租户Id
@@ -74,7 +74,7 @@ namespace New_College.Model.Models
///
/// 租户id
///
- public virtual int? TenantId { get; set; }
+ public virtual long? TenantId { get; set; }
}
diff --git a/New_College.Model/Models/V_OrderInfo.cs b/New_College.Model/Models/V_OrderInfo.cs
index fb6504e..4302309 100644
--- a/New_College.Model/Models/V_OrderInfo.cs
+++ b/New_College.Model/Models/V_OrderInfo.cs
@@ -52,7 +52,7 @@ namespace New_College.Model.Models
///
/// 用户Id
///
- public int CustomerId { get; set; }
+ public long CustomerId { get; set; }
///
///
diff --git a/New_College.Model/ViewModels/Query/VipCardQuery.cs b/New_College.Model/ViewModels/Query/VipCardQuery.cs
index 4996a6b..cecd449 100644
--- a/New_College.Model/ViewModels/Query/VipCardQuery.cs
+++ b/New_College.Model/ViewModels/Query/VipCardQuery.cs
@@ -6,7 +6,7 @@ namespace New_College.Model.ViewModels
{
public class VipCardQuery: BasePageRequest
{
- public int CustomerId { get; set; }
+ public long CustomerId { get; set; }
public string CardCode { get; set; }
@@ -15,13 +15,13 @@ namespace New_College.Model.ViewModels
public class OpenVipCardRequest
{
- public int CustomerId { get; set; }
+ public long CustomerId { get; set; }
public string CardCode { get; set; }
public string CardPwd { get; set; }
- public int? TenantId { get; set; }
+ public long? TenantId { get; set; }
}
diff --git a/New_College.Services/V_OrderInfoServices.cs b/New_College.Services/V_OrderInfoServices.cs
index 7e76f99..e1181a6 100644
--- a/New_College.Services/V_OrderInfoServices.cs
+++ b/New_College.Services/V_OrderInfoServices.cs
@@ -210,7 +210,7 @@ namespace New_College.Services
var CoustomerId = await v_CustomerInfoRepository.Query(x => x.Phone.Contains(query.Phone));
var ids = CoustomerId.Select(x => x.Id).ToList();
if (CoustomerId != null)
- wheres = wheres.And(x => ids.Contains(x.CustomerId));
+ wheres = wheres.And(x => ids.Contains((int)x.CustomerId));
}
//根据卡片类别查询