Przeglądaj źródła

生产日计划调整

heteng 2 lat temu
rodzic
commit
60dbca76bb

+ 1 - 1
MicroServices/Business/Business.Application/ResourceExamineManagement/ProductionScheduleAppService.cs

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