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
ad0097c1
Commit
ad0097c1
authored
Aug 19, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单推送
parent
74684693
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CustomerOrderModule.cs
REBORN.Module.SellModule/CustomerOrderModule.cs
+3
-3
SellOrderModule.cs
REBORN.Module.SellModule/SellOrderModule.cs
+1
-1
VisaService.cs
REBORN.Services.DMCService/VisaService.cs
+1
-1
No files found.
REBORN.Module.SellModule/CustomerOrderModule.cs
View file @
ad0097c1
...
@@ -1154,7 +1154,7 @@ namespace REBORN.Module.SellModule
...
@@ -1154,7 +1154,7 @@ namespace REBORN.Module.SellModule
#
region
推送企微机器人消息
#
region
推送企微机器人消息
var
dictModel
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
demodel
.
GroupId
,
DictKey
=
"Client_OrderPush_Url"
}).
FirstOrDefault
();
var
dictModel
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
demodel
.
GroupId
,
DictKey
=
"Client_OrderPush_Url"
}).
FirstOrDefault
();
if
(
dictModel
!=
null
)
if
(
dictModel
!=
null
&&
userInfo
.
SimpleEasy
==
0
)
{
{
string
url
=
dictModel
.
Content
;
string
url
=
dictModel
.
Content
;
var
postdata
=
new
var
postdata
=
new
...
@@ -3461,7 +3461,7 @@ namespace REBORN.Module.SellModule
...
@@ -3461,7 +3461,7 @@ namespace REBORN.Module.SellModule
Id
=
0
,
Id
=
0
,
OrderId
=
0
,
OrderId
=
0
,
TicketName
=
product
.
TicketName
,
TicketName
=
product
.
TicketName
,
Unit_Price
=
demodel
.
PeopleNum
==
0
?
demodel
.
Money
:
Math
.
Round
(
demodel
.
Money
/
(
demodel
?.
PeopleNum
??
1
),
2
),
Unit_Price
=
demodel
.
PeopleNum
==
0
?
demodel
.
Money
:
Math
.
Round
(
demodel
.
Money
/
(
demodel
?.
PeopleNum
??
1
),
2
),
Num
=
demodel
.
PeopleNum
,
Num
=
demodel
.
PeopleNum
,
Money
=
demodel
.
Money
,
Money
=
demodel
.
Money
,
CurrencyId
=
1
,
CurrencyId
=
1
,
...
@@ -3518,7 +3518,7 @@ namespace REBORN.Module.SellModule
...
@@ -3518,7 +3518,7 @@ namespace REBORN.Module.SellModule
#
region
推送企微机器人消息
#
region
推送企微机器人消息
var
dictModel
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
demodel
.
GroupId
,
DictKey
=
"Client_OrderPush_Url"
}).
FirstOrDefault
();
var
dictModel
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
demodel
.
GroupId
,
DictKey
=
"Client_OrderPush_Url"
}).
FirstOrDefault
();
if
(
dictModel
!=
null
&&
demodel
.
GroupId
==
2
)
if
(
dictModel
!=
null
&&
demodel
.
GroupId
==
2
&&
userInfo
.
SimpleEasy
==
0
)
{
{
string
url
=
dictModel
.
Content
;
string
url
=
dictModel
.
Content
;
var
postdata
=
new
var
postdata
=
new
...
...
REBORN.Module.SellModule/SellOrderModule.cs
View file @
ad0097c1
...
@@ -6759,7 +6759,7 @@ namespace REBORN.Module.SellModule
...
@@ -6759,7 +6759,7 @@ namespace REBORN.Module.SellModule
coupon_AllotRepository.DBSession.Commit();
coupon_AllotRepository.DBSession.Commit();
//自动更新候补订单
//自动更新候补订单
updaeTravelOrderWaitingRepository.UpdateOrderWaitingRepository(tmodel, null);
updaeTravelOrderWaitingRepository.UpdateOrderWaitingRepository(tmodel, null);
if (isAddorder)
if (isAddorder
&& userInfo.SimpleEasy == 0
)
{
{
//推送消息到企业微信
//推送消息到企业微信
//新增订单,推送消息
//新增订单,推送消息
REBORN.Services.DMCService/VisaService.cs
View file @
ad0097c1
...
@@ -5251,7 +5251,7 @@ namespace REBORN.Services.DMCService
...
@@ -5251,7 +5251,7 @@ namespace REBORN.Services.DMCService
model
.
OrderSource
=
model
.
OrderSource
??
OrderSourceEnum
.
Internal
;
model
.
OrderSource
=
model
.
OrderSource
??
OrderSourceEnum
.
Internal
;
flag
=
visaModule
.
SetVisaOrder_V2
(
model
,
VisaProductModel
,
tempModel
,
IsUpdateTCNum
,
supplierModel
,
appointOPList
,
orderGuestList
,
updateCouponAllotIds
);
flag
=
visaModule
.
SetVisaOrder_V2
(
model
,
VisaProductModel
,
tempModel
,
IsUpdateTCNum
,
supplierModel
,
appointOPList
,
orderGuestList
,
updateCouponAllotIds
);
}
}
if
(
flag
&&
isAddOrder
)
if
(
flag
&&
isAddOrder
&&
userInfo
.
SimpleEasy
==
0
)
{
{
//新增订单,推送消息
//新增订单,推送消息
Dictionary
<
string
,
string
>
dic
=
new
Dictionary
<
string
,
string
>();
Dictionary
<
string
,
string
>
dic
=
new
Dictionary
<
string
,
string
>();
...
...
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