21321
This commit is contained in:
parent
56f6139bd1
commit
5ff938472a
|
|
@ -27,6 +27,7 @@ using System.Threading.Tasks;
|
||||||
using CoreCms.Net.Services.SQ;
|
using CoreCms.Net.Services.SQ;
|
||||||
using CoreCms.Net.Utility.Extensions;
|
using CoreCms.Net.Utility.Extensions;
|
||||||
using ToolGood.Words.internals;
|
using ToolGood.Words.internals;
|
||||||
|
using NPOI.SS.Formula.PTG;
|
||||||
namespace CoreCms.Net.Web.WebApi.Controllers;
|
namespace CoreCms.Net.Web.WebApi.Controllers;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -436,7 +437,7 @@ ISQRoomUnavailableTimesServices sQRoomUnavailableTimesServices
|
||||||
var availableRooms = allRooms
|
var availableRooms = allRooms
|
||||||
.Where(r => r.status == true && !unavailableRoomIds.Contains(r.id) && !reservedRoomIds.Contains(r.id))
|
.Where(r => r.status == true && !unavailableRoomIds.Contains(r.id) && !reservedRoomIds.Contains(r.id))
|
||||||
.OrderBy(r => r.name)
|
.OrderBy(r => r.name)
|
||||||
.Select(it => new { it.name, it.id })
|
.Select(it => new { name = it.name + $" {it.price_per_hour}/小时", it.id, it.capacity })
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
return new WebApiDto()
|
return new WebApiDto()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user