From 971e03ccbe5124d4761f56e71025453d1d4742bc Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 17 九月 2025 14:17:08 +0800 Subject: [PATCH] 111 --- Controllers/Warehouse/MesXkyController.cs | 51 +++++++++++++++++++++++++++------------------------ 1 files changed, 27 insertions(+), 24 deletions(-) diff --git a/Controllers/Warehouse/MesXkyController.cs b/Controllers/Warehouse/MesXkyController.cs index be70a77..b98b049 100644 --- a/Controllers/Warehouse/MesXkyController.cs +++ b/Controllers/Warehouse/MesXkyController.cs @@ -1,8 +1,10 @@ 锘縰sing System.Dynamic; using Microsoft.AspNetCore.Mvc; +using NewPdaSqlServer.Dto.service; +using NewPdaSqlServer.entity; using NewPdaSqlServer.service.QC; -using NewPdaSqlServer.service.Warehouse; using NewPdaSqlServer.util; +using Newtonsoft.Json.Linq; namespace NewPdaSqlServer.Controllers.Warehouse; @@ -10,10 +12,32 @@ [ApiController] public class MesXkyController : ControllerBase { - private readonly MesXkyService m = new(); + //鍒拌揣鍗曟帹閫乯son + public class XKYGetDhdRequest + { + public long? startDate { get; set; } + public long? endDate { get; set; } + public string? erpCode { get; set; } + } + + //鍒拌揣鍗曟槑缁唈son 鍜� 鍒拌揣鍗曟潯鐮� + public class XKYGetDhdDeatilRequest + { + public string? deliveryNo { get; set; } + public string? erpCode { get; set; } + } + + //鍒拌揣鍗曟槑缁唈son 鍜� 鍒拌揣鍗曟潯鐮� + public class XKYGetDhdHwsdRequest + { + public string? dnXkNo { get; set; } + public string? erpCode { get; set; } + } + + MesXkyService m = new MesXkyService(); [HttpPost("GetXkyDhd")] - public ResponseResult GetXkyDhd(XKYGetDhdRequest request) + public ResponseResult GetXkyDhd( XKYGetDhdRequest request) { try { @@ -97,25 +121,4 @@ } } - //鍒拌揣鍗曟帹閫乯son - public class XKYGetDhdRequest - { - public long? startDate { get; set; } - public long? endDate { get; set; } - public string? erpCode { get; set; } - } - - //鍒拌揣鍗曟槑缁唈son 鍜� 鍒拌揣鍗曟潯鐮� - public class XKYGetDhdDeatilRequest - { - public string? deliveryNo { get; set; } - public string? erpCode { get; set; } - } - - //鍒拌揣鍗曟槑缁唈son 鍜� 鍒拌揣鍗曟潯鐮� - public class XKYGetDhdHwsdRequest - { - public string? dnXkNo { get; set; } - public string? erpCode { get; set; } - } } \ No newline at end of file -- Gitblit v1.9.3