|
@@ -4092,7 +4092,7 @@ namespace Business.ResourceExamineManagement
|
|
|
int op = routing.OP;
|
|
int op = routing.OP;
|
|
|
//排产任务执行时间
|
|
//排产任务执行时间
|
|
|
DateTime actStart = scheTime;
|
|
DateTime actStart = scheTime;
|
|
|
- if (workOrd.JointTyped.ToUpper() == "B")
|
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(workOrd.JointTyped) && workOrd.JointTyped.ToUpper() == "B")
|
|
|
{
|
|
{
|
|
|
actStart = workOrd.OrdDate.GetValueOrDefault();
|
|
actStart = workOrd.OrdDate.GetValueOrDefault();
|
|
|
}
|
|
}
|