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
5df5ea76
Commit
5df5ea76
authored
Nov 03, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bd8f3739
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
0 deletions
+49
-0
RB_Travel_Order_Extend.cs
REBORN.Model/Extend/Dmc/RB_Travel_Order_Extend.cs
+4
-0
RB_Customer_HotelOrderRepository.cs
REBORN.Repository/Dmc/RB_Customer_HotelOrderRepository.cs
+12
-0
RB_Customer_TicketOrderRepository.cs
REBORN.Repository/Dmc/RB_Customer_TicketOrderRepository.cs
+11
-0
RB_Travel_OrderRepository.cs
REBORN.Repository/Dmc/RB_Travel_OrderRepository.cs
+21
-0
CustomerOrderService.cs
REBORN.Services.SellService/CustomerOrderService.cs
+1
-0
No files found.
REBORN.Model/Extend/Dmc/RB_Travel_Order_Extend.cs
View file @
5df5ea76
...
...
@@ -301,6 +301,10 @@ namespace REBORN.Model.Extend.Dmc
/// </summary>
public
int
?
Status
{
get
;
set
;
}
/// <summary>
/// 结团查询 1只看已结团 2只看未结团
/// </summary>
public
int
IsFinish
{
get
;
set
;
}
/// <summary>
/// 结团审核时间
...
...
REBORN.Repository/Dmc/RB_Customer_HotelOrderRepository.cs
View file @
5df5ea76
...
...
@@ -191,6 +191,18 @@ namespace REBORN.Repository.Dmc
{
where
+=
$" and o.
{
nameof
(
RB_Customer_HotelOrder_Extend
.
OrderStatus
)}
in (1,2,4)"
;
}
if
(
demodel
.
IsFinish
>
0
)
{
if
(
demodel
.
IsFinish
==
1
)
{
where
+=
$@" AND o.
{
nameof
(
RB_Customer_HotelOrder_Extend
.
IsFinish
)}
= 1"
;
}
else
{
where
+=
$@" AND o.
{
nameof
(
RB_Customer_HotelOrder_Extend
.
IsFinish
)}
<> 1"
;
}
}
string
sql
=
$@"select o.* from RB_Customer_HotelOrder o
left join rb_customer_hotelorderdetail d on o.OrderId = d.OrderId
left join rb_customer_hotelorderroom r on d.Id = r.DetailId
...
...
REBORN.Repository/Dmc/RB_Customer_TicketOrderRepository.cs
View file @
5df5ea76
...
...
@@ -169,6 +169,17 @@ where {where} order by o.OrderId desc";
{
where
+=
$" and o.
{
nameof
(
RB_Customer_TicketOrder_Extend
.
UseDate
)}
<='
{
demodel
.
UseETime
}
23:59:59'"
;
}
if
(
demodel
.
IsFinish
>
0
)
{
if
(
demodel
.
IsFinish
==
1
)
{
where
+=
$@" AND o.
{
nameof
(
RB_Customer_TicketOrder_Extend
.
IsFinish
)}
= 1"
;
}
else
{
where
+=
$@" AND o.
{
nameof
(
RB_Customer_TicketOrder_Extend
.
IsFinish
)}
<> 1"
;
}
}
if
(
demodel
.
OrderStatus
>
0
)
{
where
+=
$" and o.
{
nameof
(
RB_Customer_TicketOrder_Extend
.
OrderStatus
)}
=
{(
int
)
demodel
.
OrderStatus
}
"
;
...
...
REBORN.Repository/Dmc/RB_Travel_OrderRepository.cs
View file @
5df5ea76
...
...
@@ -687,6 +687,16 @@ IFNULL(a.PreferTipAmount,0)- IFNULL(a.CompensationMoney,0) + (IFNULL(A.PreferPr
{
where
+=
" AND B.OutBranchId NOT IN(1220,1218,1252) "
;
}
if
(
model
.
IsFinish
>
0
)
{
if
(
model
.
IsFinish
==
1
)
{
where
+=
" and B.Status=2"
;
}
else
{
where
+=
" and B.Status<>2"
;
}
}
string
sql
;
if
(
model
.
LossType
==
1
)
{
...
...
@@ -1653,6 +1663,17 @@ left join rb_lineteam E on E.LtID=C.LineteamId
where
+=
$@" AND A.
{
nameof
(
RB_Travel_Order
.
Income
)}
>0"
;
}
}
if
(
model
.
IsFinish
>
0
)
{
if
(
model
.
IsFinish
==
1
)
{
where
+=
" and B.Status=2"
;
}
else
{
where
+=
" and B.Status<>2"
;
}
}
if
(
userInfo
==
null
)
{
userInfo
=
new
UserInfo
();
...
...
REBORN.Services.SellService/CustomerOrderService.cs
View file @
5df5ea76
...
...
@@ -1578,6 +1578,7 @@ namespace REBORN.Services.SellService
CouponsName
=
parms
.
GetStringValue
(
"CouponsName"
),
IsSelectSale
=
parms
.
GetInt
(
"IsSelectSale"
),
EnterID
=
parms
.
GetInt
(
"EnterID"
),
IsFinish
=
parms
.
GetInt
(
"IsFinish"
),
Mobile
=
parms
.
GetStringValue
(
"ContactNumber"
),
};
if
(
userInfo
.
SimpleEasy
==
1
)
...
...
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