提交代码

This commit is contained in:
高飞 2025-03-25 11:56:49 +08:00
parent 818d361feb
commit 0eb5d704cd
1 changed files with 2 additions and 2 deletions

View File

@ -1135,7 +1135,7 @@ namespace BLL
join w in db.Base_WorkPost on x.WorkPostId equals w.WorkPostId join w in db.Base_WorkPost on x.WorkPostId equals w.WorkPostId
where x.IdentityCard == identityCard && y.JTProjectCode == proCode where x.IdentityCard == identityCard && y.JTProjectCode == proCode
&& v.TeamId.HasValue && z.JTproCode != null && v.TeamId.HasValue && z.JTproCode != null
&& ((type == Const.BtnAdd && x.HeadImage != null && x.HeadImage.Length > 0) || type == Const.BtnModify) && ((type == Const.BtnAdd && x.HeadImage != null && x.HeadImage.Length > 0) || type == Const.BtnModify && x.RealNameAddTime.HasValue)
select new select new
{ {
name = x.PersonName, name = x.PersonName,
@ -1201,7 +1201,7 @@ namespace BLL
code = obj["code"].ToString(); code = obj["code"].ToString();
sucess = obj["success"].ToString(); sucess = obj["success"].ToString();
data = obj["data"].ToString(); data = obj["data"].ToString();
if (obj["success"] != null && Convert.ToBoolean(obj["success"].ToString()) && code == "200") if (obj["success"] != null && Convert.ToBoolean(obj["success"].ToString()))
{ {
foreach (var item in getData) foreach (var item in getData)
{ {