20220216 人员照片保存时加判断
This commit is contained in:
@@ -69,7 +69,10 @@ namespace BLL
|
||||
newWelder.IsUsed = welder.IsUsed;
|
||||
newWelder.QualificationCertificateUrl = welder.QualificationCertificateUrl;
|
||||
newWelder.Remark = welder.Remark;
|
||||
newWelder.PhotoUrl = welder.PhotoUrl;
|
||||
if (!string.IsNullOrEmpty(welder.PhotoUrl))
|
||||
{
|
||||
newWelder.PhotoUrl = welder.PhotoUrl;
|
||||
}
|
||||
newWelder.WorkPostId = welder.WorkPostId;
|
||||
newWelder.Isprint = welder.Isprint;
|
||||
Funs.DB.SubmitChanges();
|
||||
|
||||
Reference in New Issue
Block a user