| | |
| | | [ApiController] |
| | | public class MesXkyController : ControllerBase |
| | | { |
| | | |
| | | public class XKYGetDhdRequest |
| | | { |
| | | public long? startDate { get; set; } |
| | | public long? endDate { get; set; } |
| | | public string? erpCode { get; set; } |
| | | } |
| | | |
| | | MesXkyService m = new MesXkyService(); |
| | | |
| | | [HttpPost("GetXkyDhd")] |
| | | public ResponseResult GetXkyDhd([FromBody] string JsonObj) |
| | | public ResponseResult GetXkyDhd( XKYGetDhdRequest request) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos = m.GetXkyDHD(JsonObj); |
| | | resultInfos = m.GetXkyDHD(request); |
| | | var tbBillList = resultInfos; |
| | | return new ResponseResult |
| | | { |