1
This commit is contained in:
parent
d7fef6a9fa
commit
7e653e807a
@ -558,6 +558,10 @@ namespace DOAN.Service.MES.product
|
||||
//获取周的日期开始到结束
|
||||
var WeekStartAndEnd = Context.Queryable<ProWeeklyPlan>().Where(it => it.PlanYear == year && it.PlanWeek == week)
|
||||
.Select(it => new { it.PlanStartDate, it.PlanEndDate }).First();
|
||||
if(WeekStartAndEnd == null)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
DateTime WeekStartDate = WeekStartAndEnd.PlanStartDate;
|
||||
DateTime WeekEndDate = WeekStartAndEnd.PlanEndDate;
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user