This commit is contained in:
zpc 2025-09-11 03:10:32 +08:00
parent 6c521672f5
commit 4decb3d35d

View File

@ -138,7 +138,7 @@ public class SQController : ControllerBase
var room = roomList.Find(it => it.id == item.room_id);
if (room != null)
{
item.room_name = $"{room.name} {room.price_per_hour}/小时 {room.capacity}/人数";
item.room_name = $"{room.name} {room.price_per_hour.ToString("#.##")}/小时 {room.capacity}/人数";
}
var dto = _mapper.Map<List<SQReservationParticipantsApiDto>>(temp);