11
This commit is contained in:
@@ -97,14 +97,17 @@ namespace BLL
|
||||
newWelder.IsOAM = welder.IsOAM;
|
||||
|
||||
db.SubmitChanges();
|
||||
var pw = from x in db.Project_Welder
|
||||
where x.WED_ID == welder.WED_ID
|
||||
select x;
|
||||
foreach(var w in pw)
|
||||
if (!string.IsNullOrEmpty(newWelder.PhotoUrl))
|
||||
{
|
||||
w.ExchangeTime = DateTime.Now;
|
||||
var pw = from x in db.Project_Welder
|
||||
where x.WED_ID == welder.WED_ID
|
||||
select x;
|
||||
foreach (var w in pw)
|
||||
{
|
||||
w.ExchangeTime = DateTime.Now;
|
||||
}
|
||||
db.SubmitChanges();
|
||||
}
|
||||
db.SubmitChanges();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user