1
huanghongfeng
2024-11-21 4cfeced9bc8985cdd89fdb540e6fe984f8469481
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -46,9 +46,7 @@
using WIDESEAWCS_ITaskInfoRepository;
using WIDESEAWCS_ITaskInfoService;
using WIDESEAWCS_Model.Models;
using WIDESEAWCS_QuartzJob;
using WIDESEAWCS_QuartzJob.Models;
using WIDESEAWCS_QuartzJob.Service;
namespace WIDESEAWCS_TaskInfoService
{
@@ -181,14 +179,38 @@
        /// <returns></returns>
        public WebResponseContent ToPlatform(string palletCode)
        {
            WebResponseContent content = new WebResponseContent();
            try
            {
                WebResponseContent content = new WebResponseContent();
                GenerateInv generate = new GenerateInv()
                {
                    SourceAddress = "",
                    PalletCode = palletCode
                };
                return content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate);
            }
            catch (Exception ex)
            {
                throw;
            }
            /*WebResponseContent content = new WebResponseContent();
            GenerateInv generate = new GenerateInv()
            {
                SourceAddress ="",
                SourceAddress = "",
                PalletCode = palletCode
            };
            return content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate);
            content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate);
            if (content != null)
            {
                if (content.Status)
                {
                    return content;
                }
            }
            return content = WebResponseContent.Instance.Error();*/
        }
        /// <summary>