bug fixed
parent
92b495b9f6
commit
cd89c589ce
|
|
@ -896,6 +896,11 @@
|
|||
学校
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:New_College.Model.Models.D_PlanMajorScoreLine.SubjectType">
|
||||
<summary>
|
||||
综合/理科/文科
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:New_College.Model.Models.D_PlanMajorScoreLine.BatchName">
|
||||
<summary>
|
||||
批次
|
||||
|
|
|
|||
|
|
@ -29,6 +29,12 @@ namespace New_College.Model.Models
|
|||
public string UniversityName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 综合/理科/文科
|
||||
/// </summary>
|
||||
public string SubjectType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 批次
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ using Newtonsoft.Json;
|
|||
using New_College.Common.HttpRestSharp;
|
||||
using StackExchange.Profiling.Internal;
|
||||
using New_College.Repository;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace New_College.Services
|
||||
{
|
||||
|
|
@ -368,13 +369,14 @@ namespace New_College.Services
|
|||
/// <returns></returns>
|
||||
private async Task<V_CustomerInfo> SyncXET(V_CustomerInfo info)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(info.Phone)) {
|
||||
var xet = XiaoEtongApp.GetUsersList(new UserRequest()
|
||||
{
|
||||
phone = info.Phone,
|
||||
page = 1,
|
||||
page_size = 1,
|
||||
});
|
||||
if (xet.data.list != null && xet.data.list.Count() > 0)
|
||||
if (xet != null && xet.data.list != null && xet.data.list.Count() > 0)
|
||||
{
|
||||
var xiaoetong = (await _XiaoEtongUserRepository.Query(e => e.collect_phone == info.Phone));
|
||||
if (!xiaoetong.Any())
|
||||
|
|
@ -415,6 +417,7 @@ namespace New_College.Services
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return info;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue