Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liudong1993
huatu_API
Commits
601e3c95
Commit
601e3c95
authored
Aug 19, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1845717a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
CustomerOrderModule.cs
REBORN.Module.SellModule/CustomerOrderModule.cs
+6
-14
No files found.
REBORN.Module.SellModule/CustomerOrderModule.cs
View file @
601e3c95
...
@@ -1063,13 +1063,13 @@ namespace REBORN.Module.SellModule
...
@@ -1063,13 +1063,13 @@ namespace REBORN.Module.SellModule
item
.
UpdateBy
=
demodel
.
UpdateBy
;
item
.
UpdateBy
=
demodel
.
UpdateBy
;
item
.
UpdateTime
=
DateTime
.
Now
;
item
.
UpdateTime
=
DateTime
.
Now
;
item
.
HotelStatus
=
1
;
item
.
HotelStatus
=
1
;
i
tem
.
Id
=
hotelOrderDetailRepository
.
Insert
(
item
);
i
nt
detail
Id
=
hotelOrderDetailRepository
.
Insert
(
item
);
if
(
item
.
Id
>
0
)
if
(
detail
Id
>
0
)
{
{
foreach
(
var
qitem
in
item
.
RoomList
)
foreach
(
var
qitem
in
item
.
RoomList
)
{
{
qitem
.
OrderId
=
demodel
.
OrderId
;
qitem
.
OrderId
=
demodel
.
OrderId
;
qitem
.
DetailId
=
item
.
Id
;
qitem
.
DetailId
=
detail
Id
;
qitem
.
Status
=
0
;
qitem
.
Status
=
0
;
qitem
.
GroupId
=
demodel
.
GroupId
;
qitem
.
GroupId
=
demodel
.
GroupId
;
qitem
.
CreateTime
=
DateTime
.
Now
;
qitem
.
CreateTime
=
DateTime
.
Now
;
...
@@ -1128,20 +1128,13 @@ namespace REBORN.Module.SellModule
...
@@ -1128,20 +1128,13 @@ namespace REBORN.Module.SellModule
item
.
CreateTime
=
DateTime
.
Now
;
item
.
CreateTime
=
DateTime
.
Now
;
item
.
UpdateBy
=
demodel
.
UpdateBy
;
item
.
UpdateBy
=
demodel
.
UpdateBy
;
item
.
UpdateTime
=
DateTime
.
Now
;
item
.
UpdateTime
=
DateTime
.
Now
;
// item.HotelStatus = 1;
int
detailId
=
hotelOrderDetailRepository
.
Insert
(
item
);
//var priceModel = priceList.Where(x => x.Hotel == item.HotelId && x.Date == item.Date.Value).FirstOrDefault();
if
(
detailId
>
0
)
//if (priceModel != null)
//{
// item.CurrencyId = priceModel.CurrencyId ?? 0;
// item.CurrentRate = priceModel.CurrentRate ?? 0;
//}
item
.
Id
=
hotelOrderDetailRepository
.
Insert
(
item
);
if
(
item
.
Id
>
0
)
{
{
foreach
(
var
qitem
in
item
.
RoomList
)
foreach
(
var
qitem
in
item
.
RoomList
)
{
{
qitem
.
OrderId
=
orderId
;
qitem
.
OrderId
=
orderId
;
qitem
.
DetailId
=
item
.
Id
;
qitem
.
DetailId
=
detail
Id
;
qitem
.
Status
=
0
;
qitem
.
Status
=
0
;
qitem
.
GroupId
=
demodel
.
GroupId
;
qitem
.
GroupId
=
demodel
.
GroupId
;
qitem
.
CreateTime
=
DateTime
.
Now
;
qitem
.
CreateTime
=
DateTime
.
Now
;
...
@@ -1149,7 +1142,6 @@ namespace REBORN.Module.SellModule
...
@@ -1149,7 +1142,6 @@ namespace REBORN.Module.SellModule
qitem
.
UpdateTime
=
DateTime
.
Now
;
qitem
.
UpdateTime
=
DateTime
.
Now
;
hotelOrderRoomRepository
.
Insert
(
qitem
);
hotelOrderRoomRepository
.
Insert
(
qitem
);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment