optimize
hao 11 months ago
parent 9d3c09b3f2
commit 32e5272109

@ -59,8 +59,8 @@ namespace Myshipping.Application
/// </summary> /// </summary>
/// <param name="input"></param> /// <param name="input"></param>
/// <returns></returns> /// <returns></returns>
[HttpGet("/BookingSlot/page")] [HttpPost("/BookingSlot/page")]
public async Task<SqlSugarPagedList<BookingSlotBaseListOutput>> Page([FromQuery] BookingSlotBasePageInput input) public async Task<dynamic> Page(BookingSlotBasePageInput input)
{ {
var entities = await _repBase.AsQueryable() var entities = await _repBase.AsQueryable()
.WhereIF(!string.IsNullOrEmpty(input.SLOT_BOOKING_NO), u => u.SLOT_BOOKING_NO.Contains(input.SLOT_BOOKING_NO)) .WhereIF(!string.IsNullOrEmpty(input.SLOT_BOOKING_NO), u => u.SLOT_BOOKING_NO.Contains(input.SLOT_BOOKING_NO))

Loading…
Cancel
Save