提交代码
This commit is contained in:
@@ -231,7 +231,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||
{
|
||||
var weldJointIds = (from x in list
|
||||
where x.UnitWorkId == this.UnitWorkId && x.TaskDate.Value.Date <= Convert.ToDateTime(txtWeldingDate.Text)
|
||||
&& x.WeldingDailyId == null /*&& x.CoverWelderId != null && x.BackingWelderId != null*/
|
||||
&& x.WeldingDailyId == null
|
||||
select x).ToList();
|
||||
weldJointIds = weldJointIds.GroupBy(x => x.WeldJointId, (key, group) => group.OrderByDescending(x => x.TaskDate).First()).ToList();
|
||||
task = weldJointIds;
|
||||
|
||||
Reference in New Issue
Block a user