调整vip绑定部分代码
parent
3aa8cf9bad
commit
ea43e76962
|
|
@ -64,7 +64,7 @@ namespace New_College.Model.Models
|
|||
/// <summary>
|
||||
/// 租户id
|
||||
/// </summary>
|
||||
public virtual int? TenantId { get; set; }
|
||||
public virtual long? TenantId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
///带上租户Id
|
||||
|
|
@ -74,7 +74,7 @@ namespace New_College.Model.Models
|
|||
/// <summary>
|
||||
/// 租户id
|
||||
/// </summary>
|
||||
public virtual int? TenantId { get; set; }
|
||||
public virtual long? TenantId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ namespace New_College.Model.Models
|
|||
/// <summary>
|
||||
/// 用户Id
|
||||
/// </summary>
|
||||
public int CustomerId { get; set; }
|
||||
public long CustomerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
||||
//根据卡片类别查询
|
||||
|
|
|
|||
Loading…
Reference in New Issue