|
@@ -167,6 +167,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
var data = await _sqlSugar.SqlQueryable<TourClientListDetailsView>(sql).FirstAsync();
|
|
|
if (data != null)
|
|
|
{
|
|
|
+
|
|
|
data.BirthDay = data.BirthDay.DateFormat("yyyy-MM-dd");
|
|
|
|
|
|
|
|
@@ -275,7 +276,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
Pinyin = dto.Pinyin,
|
|
|
Phone = dto.Phone,
|
|
|
Sex = dto.Sex,
|
|
|
- BirthDay = dto.BirthDay == null ? null : Convert.ToDateTime(dto.BirthDay),
|
|
|
+ BirthDay = dto.BirthDay == "" ? null : Convert.ToDateTime(dto.BirthDay),
|
|
|
Job = dto.Job,
|
|
|
CreateUserId = dto.UserId
|
|
|
};
|