| | |
| | | using 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; |
| | | |
| | |
| | | [ApiController] |
| | | public class MesXkyController : ControllerBase |
| | | { |
| | | //到货单推送json |
| | | public class XKYGetDhdRequest |
| | | { |
| | | public long? startDate { get; set; } |
| | | public long? endDate { get; set; } |
| | | public string? erpCode { get; set; } |
| | | } |
| | | |
| | | //到货单明细json 和 到货单条码 |
| | | public class XKYGetDhdDeatilRequest |
| | | { |
| | | public string? deliveryNo { get; set; } |
| | | public string? erpCode { get; set; } |
| | | } |
| | | |
| | | //到货单明细json 和 到货单条码 |
| | | public class XKYGetDhdHwsdRequest |
| | | { |
| | | public string? dnXkNo { get; set; } |
| | | public string? erpCode { get; set; } |
| | | } |
| | | |
| | | MesXkyService m = new MesXkyService(); |
| | | private readonly MesXkyService m = new(); |
| | | |
| | | [HttpPost("GetXkyDhd")] |
| | | public ResponseResult GetXkyDhd( XKYGetDhdRequest request) |
| | |
| | | } |
| | | } |
| | | |
| | | //到货单推送json |
| | | public class XKYGetDhdRequest |
| | | { |
| | | public long? startDate { get; set; } |
| | | public long? endDate { get; set; } |
| | | public string? erpCode { get; set; } |
| | | } |
| | | |
| | | //到货单明细json 和 到货单条码 |
| | | public class XKYGetDhdDeatilRequest |
| | | { |
| | | public string? deliveryNo { get; set; } |
| | | public string? erpCode { get; set; } |
| | | } |
| | | |
| | | //到货单明细json 和 到货单条码 |
| | | public class XKYGetDhdHwsdRequest |
| | | { |
| | | public string? dnXkNo { get; set; } |
| | | public string? erpCode { get; set; } |
| | | } |
| | | } |