Commit d8b815a0 authored by 吴春's avatar 吴春

提交代码

parent 4ca6d070
......@@ -362,7 +362,7 @@ namespace Mall.WebApi.Controllers.User
}
}
//赞羊教育保存性别 2021-05-08 Add by:W
if ((oldBaseInfo == null && oldBaseInfo.Id == 0) &&demodel.Gender > 0)
if ((oldBaseInfo == null && (oldBaseInfo?.Id ?? 0) == 0) &&demodel.Gender > 0)
{
var eduBaseInfo = new Model.Extend.Education.RB_Education_BaseInfo_Extend
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment