99
This commit is contained in:
parent
da13ed7ef5
commit
b8c92f9ee5
@ -236,9 +236,9 @@ namespace MyCode.Project.Services.Implementation
|
||||
{
|
||||
throw new BaseException($"修改承诺交期失败,已经有值了不许第二次修改");
|
||||
}
|
||||
if(temp.NewTime< totday)
|
||||
if(temp.NewTime.Date<= totday)
|
||||
{
|
||||
throw new BaseException($"修改承诺交期失败,日期不能小于当天日期");
|
||||
throw new BaseException($"修改承诺交期失败,日期必须大于当天日期");
|
||||
}
|
||||
t.ChengNuoJiaoQi = temp.NewTime;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user