222
schangxiang@126.com
2025-09-29 f782248da68c035aae12f902f29d828e9867abb0
DEmon/iWareCc/FinishStackerTask/Chain/±£´æ³öÈë¿âÃ÷ϸÐÅÏ¢.cs
@@ -56,15 +56,19 @@
                        {
                            materid = mater.id;
                        }
                    };
                    }
                    ;
                    int tp=0;
                    int? _isSendToMes = null;//是否发送给MES ã€Editby shaocx,2025-09-25】
                    switch (task.MainTaskType)
                    {
                        case (int)EMainTaskType.入库任务:
                            tp = 0;
                            _isSendToMes = (int)EIsSendToMes.待推送;
                            break;
                        case (int)EMainTaskType.出库任务:
                            tp = 1;
                            _isSendToMes = (int)EIsSendToMes.待推送;
                            break;
                        case (int)EMainTaskType.移库任务:
                            tp = 2;
@@ -87,7 +91,8 @@
                        createtime=task.CreateTime,
                        materialcode=task.MaterialCode,
                        materialid=materid,
                        type = tp
                        type = tp,
                        isSendToMes = _isSendToMes //是否发送给MES ã€Editby shaocx,2025-09-25】
                    };
                    dbModel.InOutStorageDetails.Add(iosd);
                    dbModel.SaveChanges();