|
@@ -763,7 +763,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
Pinyin = item.Pinyin,
|
|
|
Phone = item.Phone,
|
|
|
Sex = item.Sex,
|
|
|
- BirthDay = item.BirthDay == null ? null : Convert.ToDateTime(item.BirthDay),
|
|
|
+ BirthDay = string.IsNullOrEmpty(item.BirthDay) ? null : Convert.ToDateTime(item.BirthDay),
|
|
|
Job = item.Job,
|
|
|
CreateUserId = userId
|
|
|
};
|
|
@@ -836,6 +836,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
if (clientInfo != null) //该客户存在 修改信息
|
|
|
{
|
|
|
clientId = clientInfo.Id;
|
|
|
+ _DeleClient.CrmCompanyId = crmCompanyId;
|
|
|
var clientEdit = await _sqlSugar.Updateable(_DeleClient).UpdateColumns(it =>
|
|
|
new
|
|
|
{
|