111
cjs
5 天以前 c184121b9038aee1d8c9e3e49e45764521e58007
ams/Hanhe.iWCS.JingmenGEMTwoProtocol/WMSHelper.cs
@@ -12,6 +12,7 @@
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using static Hanhe.iWCS.JingmenGEMTwoProtocol.ApiHelper;
using static Hanhe.iWCS.JingmenGEMTwoProtocol.ERPService;
using static Hanhe.iWCS.JingmenGEMTwoProtocol.MESHelper;
using static System.Runtime.CompilerServices.RuntimeHelpers;
@@ -403,7 +404,17 @@
                    CMMLog.Info($"WMSIn-{startBit}:ItemCode不为空,获取信息!111!");
                    CMMLog.Info($"{ItemCode}");
                    if (ItemCode == "time" || ItemCode == "拆盘变更" || ItemCode == "打包下线")
                    if (ItemCode == "电钴打包下线")
                    {
                        model.trayCode = trayCode;
                        model.endArea = endArea;
                        //将数据插入中间表
                        if(!ERPService.senderpTaskDG(startBit, trayCode))
                        {
                            return false;
                        }
                    }
                    else if (ItemCode == "time" || ItemCode == "拆盘变更" || ItemCode == "打包下线")
                    {
                        CMMLog.Info($"{trayCode}");
                        var time = MongoDBSingleton.Instance.FindOne<TimeCuoInfoCom>(Query.EQ("timeStamp", int.Parse(trayCode)), "TimeCuoInfoCom");