1
wangxinhui
2025-06-10 2779947fe07c41250237437365f367b5a78a03b6
1
已删除2个文件
已修改3个文件
已添加2个文件
28 ■■■■ 文件已修改
代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/230a97ab-d5f2-438a-bf5e-1936c1bef923.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/79d237d9-ba7d-40e6-9942-e7f8f7728cb4.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/9d223ae2-4a90-4efd-ae67-f1131a379c2f.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/ef8b54ea-95e6-4615-a7de-9b16de52a1b0.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/QMS/ReceiveResultDto.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_External/QMSService/InvokeQMSService.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/QMS/QmsController.cs 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/230a97ab-d5f2-438a-bf5e-1936c1bef923.vsidx
Binary files differ
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/79d237d9-ba7d-40e6-9942-e7f8f7728cb4.vsidx
Binary files differ
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/9d223ae2-4a90-4efd-ae67-f1131a379c2f.vsidx
Binary files differ
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/ef8b54ea-95e6-4615-a7de-9b16de52a1b0.vsidx
Binary files differ
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_DTO/QMS/ReceiveResultDto.cs
@@ -18,6 +18,6 @@
        /// <summary>
        /// ID
        /// </summary>
        public int Id { get; set; }
        public string Id { get; set; }
    }
}
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_External/QMSService/InvokeQMSService.cs
@@ -36,7 +36,7 @@
                Content = model
            };
            string request = JsonConvert.SerializeObject(model,settings);
            string request = JsonConvert.SerializeObject(requestModel, settings);
            string response = HttpQmsHelper.Post(apiInfo.ApiAddress, request);
            return response;
        }
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/QMS/QmsController.cs
@@ -29,7 +29,7 @@
    /// <summary>
    /// ERP接口
    /// </summary>
    [Route("api/Erp")]
    [Route("api/Qms")]
    [ApiController]
    public class QmsController : ControllerBase
    {
@@ -64,15 +64,31 @@
        //    else return Instance.Error(content.Message);
        //}
        /// <summary>
        /// æ”¶è´§å•来料检验推送
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        [HttpPost, Route("ReceiveCheck"), AllowAnonymous, MethodParamsValidate]
        public string ReceivePurchaseOrder([FromBody] QMSReceiveCheckModel model)
        {
           string content = _invokeQMSService.InvokeReceiveCheckApi(model);
           return content;
        }
        /// <summary>
        /// æ£€éªŒå•回传更新
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        [HttpPost, Route("CheckResultReturn"), AllowAnonymous, MethodParamsValidate]
        public string ReceivePurchaseOrder([FromBody] QMSReceiveCheckModel model)
        public MesResponseContent CheckResultReturn([FromBody] ERPCheckModel model)
        {
           string content = _invokeQMSService.InvokeReceiveCheckApi(model);
           return content;
            string content = _invokeERPService.InvokeCheckOrderApi(model);
            ErpRequestContent requestContent = content.DeserializeObject<ErpRequestContent>();
            if (requestContent.res != 1)
            {
                return MesResponseContent.Instance.Error(requestContent.Data);
            }
            return MesResponseContent.Instance.OK("成功");
        }
    }
}