From 81ae057b3281ffc83c302bd992001defff58a33d Mon Sep 17 00:00:00 2001 From: wanghaomei Date: Thu, 17 Nov 2022 11:17:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BookingOrder/BookingOrderService.cs | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 6f481293..bb2a1811 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -120,7 +120,7 @@ namespace Myshipping.Application /// /// /// - [HttpGet("/BookingOrder/page")] + [HttpGet("/BookingOrder/Page")] public async Task Page([FromQuery] BookingOrderInput input) { List userlist = await DataFilterExtensions.GetDataScopeIdList(); @@ -256,7 +256,7 @@ namespace Myshipping.Application /// /// [SqlSugarUnitOfWork] - [HttpPost("/BookingOrder/add")] + [HttpPost("/BookingOrder/Add")] public async Task Add(AddBookingOrderInput input) { JsonUtil.PropToUpper(input, "ORDNO", "BSSTATUS", "YardContract", "YardContractTel", "YardContractEmail"); @@ -311,7 +311,7 @@ namespace Myshipping.Application /// /// [SqlSugarUnitOfWork] - [HttpPost("/BookingOrder/delete")] + [HttpPost("/BookingOrder/Delete")] public async Task Delete(long Id) { var ctnlist = await _repCtn.AsQueryable().Where(x => x.BILLID == Id).Select(x => x.Id).ToListAsync(); @@ -326,7 +326,7 @@ namespace Myshipping.Application /// /// [SqlSugarUnitOfWork] - [HttpPost("/BookingOrder/update")] + [HttpPost("/BookingOrder/Update")] public async Task Update(UpdateBookingOrderInput input) { JsonUtil.PropToUpper(input, "ORDNO", "BSSTATUS", "YardContract", "YardContractTel", "YardContractEmail"); @@ -418,7 +418,7 @@ namespace Myshipping.Application /// /// /// - [HttpGet("/BookingOrder/get")] + [HttpGet("/BookingOrder/Get")] public async Task Get(long Id) { BookingOrderOutput ordOut = new BookingOrderOutput(); @@ -456,7 +456,7 @@ namespace Myshipping.Application /// /// /// - [HttpGet("/BookingOrder/getLog")] + [HttpGet("/BookingOrder/GetLog")] public async Task> GetLog(long Id) { List list = new List(); @@ -478,7 +478,7 @@ namespace Myshipping.Application /// /// /// - [HttpGet("/BookingOrder/getRemark")] + [HttpGet("/BookingOrder/GetRemark")] public async Task> GetRemark(long Id) { var list = await _bookingremark.AsQueryable().Where(u => u.PId == Id).ToListAsync(); @@ -491,7 +491,7 @@ namespace Myshipping.Application /// /// [SqlSugarUnitOfWork] - [HttpPost("/BookingOrder/addRemark")] + [HttpPost("/BookingOrder/AddRemark")] public async Task AddRemark(BookingRemarkDto dto) { var entity = dto.Adapt(); @@ -504,7 +504,7 @@ namespace Myshipping.Application /// /// /// - [HttpPost("/BookingOrder/addFile")] + [HttpPost("/BookingOrder/AddFile")] public async Task AddFile(IFormFile file, [FromForm] BookingFileDto dto) { //未上传打印模板文件 @@ -562,7 +562,7 @@ namespace Myshipping.Application /// /// /// - [HttpGet("/BookingOrder/getFile")] + [HttpGet("/BookingOrder/GetFile")] public async Task> GetFile(long Id) { var list = await _bookingfile.AsQueryable().Where(u => u.BookingId == Id).ToListAsync(); @@ -982,7 +982,7 @@ namespace Myshipping.Application /// /// /// - [HttpPost("/BookingOrder/sendxhz")] + [HttpPost("/BookingOrder/SendXHZ")] public async Task SendXHZ(long bookingId) { var rtn = await XiahuozhiHelpler.Send(bookingId, "9"); @@ -1074,7 +1074,7 @@ namespace Myshipping.Application /// /// /// - [HttpGet("/BookingOrder/txxplink")] + [HttpGet("/BookingOrder/TxxpLink")] public async Task TxxpLink(long bookingId) { var order = _rep.FirstOrDefault(x => x.Id == bookingId); @@ -1215,7 +1215,7 @@ namespace Myshipping.Application /// /// /// - [HttpGet("/BookingOrder/vgmlink")] + [HttpGet("/BookingOrder/VgmLink")] public async Task VgmLink(long bookingId) { var order = _rep.FirstOrDefault(x => x.Id == bookingId); @@ -1381,7 +1381,7 @@ namespace Myshipping.Application /// /// /// - [HttpPost("/BookingOrder/vgmsend")] + [HttpPost("/BookingOrder/VgmSend")] public async Task VgmSend(long bookingId) { var order = _rep.FirstOrDefault(x => x.Id == bookingId); @@ -1851,7 +1851,7 @@ namespace Myshipping.Application /// 获取用户报表的json /// /// - [HttpGet("/BookingOrder/reportJson")] + [HttpGet("/BookingOrder/GenReportJson")] public async Task GenReportJson(long id) { var jsonUrl = _cache.GetAllDictData().Result.FirstOrDefault(x => x.TypeCode == "url_set" && x.Code == "url_report_generate").Value; @@ -1874,7 +1874,7 @@ namespace Myshipping.Application /// /// 类型,对应字典中的【订舱打印模板类型】 /// - [HttpGet("/BookingOrder/reportFile")] + [HttpGet("/BookingOrder/GenReportJson")] public async Task GenReportJson(long id, string type) { //打印报表服务地址