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
875deee5
Commit
875deee5
authored
Aug 25, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
10e1cf6f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
VisaModule.cs
REBORN.Module.DMCModule/VisaModule.cs
+2
-2
CustomerOrderModule.cs
REBORN.Module.SellModule/CustomerOrderModule.cs
+8
-8
SellOrderModule.cs
REBORN.Module.SellModule/SellOrderModule.cs
+5
-4
No files found.
REBORN.Module.DMCModule/VisaModule.cs
View file @
875deee5
...
...
@@ -3844,12 +3844,12 @@ TEL:03-3779-9111";
if
(!
string
.
IsNullOrEmpty
(
actionMenu
)
&&
actionMenu
.
Contains
(
"S_CheckAllOrder"
))
//查看全部的订单信息
{
IsAdmin
=
false
;
model
.
CreateBy
=
0
;
//
model.CreateBy = 0;
}
else
if
(!
string
.
IsNullOrEmpty
(
actionMenu
)
&&
actionMenu
.
Contains
(
"S_CheckBranchOrder"
))
//查看公司下的订单信息
{
IsAdmin
=
false
;
model
.
CreateBy
=
0
;
//
model.CreateBy = 0;
model
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
}
}
...
...
REBORN.Module.SellModule/CustomerOrderModule.cs
View file @
875deee5
...
...
@@ -1173,9 +1173,9 @@ namespace REBORN.Module.SellModule
#
region
推送企微机器人消息
var
mpcModel
=
messagePushConfigRepository
.
GetList
(
new
RB_MessagePushConfig
{
SendType
=
"1"
,
RB_Group_Id
=
demodel
.
GroupId
})?.
FirstOrDefault
()
??
new
RB_MessagePushConfig
();
if
(
userInfo
.
SimpleEasy
==
1
&&
!
string
.
IsNullOrWhiteSpace
(
mpcModel
?.
WeChatBotWebhookUrl
??
""
)
&&
(
mpcModel
?.
WeChatBotEnabled
??
0
)
==
1
)
if
(
userInfo
.
SimpleEasy
==
1
&&
!
string
.
IsNullOrWhiteSpace
(
mpcModel
?.
WeChatBotWebhookUrl
??
""
)
&&
(
mpcModel
?.
WeChatBotEnabled
??
0
)
==
1
)
{
string
jdName
=
hotel
?.
Name
;
if
(
demodel
.
GroupId
==
2
)
{
...
...
@@ -1278,12 +1278,12 @@ namespace REBORN.Module.SellModule
if
(!
string
.
IsNullOrEmpty
(
actionMenu
)
&&
actionMenu
.
Contains
(
"S_CheckAllOrder"
))
//查看全部的订单信息
{
IsAdmin
=
false
;
query
.
EnterID
=
0
;
//
query.EnterID = 0;
}
else
if
(!
string
.
IsNullOrEmpty
(
actionMenu
)
&&
actionMenu
.
Contains
(
"S_CheckBranchOrder"
))
//查看公司下的订单信息
{
IsAdmin
=
false
;
query
.
EnterID
=
0
;
//
query.EnterID = 0;
query
.
EmpBranchId
=
userInfo
.
RB_Branch_id
;
}
}
...
...
@@ -3620,7 +3620,7 @@ namespace REBORN.Module.SellModule
// var dictModel = dictvalueRepository.GetList(new RB_Dictvalue_Extend() { RB_Group_id = demodel.GroupId, DictKey = "Client_OrderPush_Url" }).FirstOrDefault();
var
mpcModel
=
messagePushConfigRepository
.
GetList
(
new
RB_MessagePushConfig
{
SendType
=
"1"
,
RB_Group_Id
=
demodel
.
GroupId
})?.
FirstOrDefault
()
??
new
RB_MessagePushConfig
();
if
(
userInfo
.
SimpleEasy
==
1
&&
!
string
.
IsNullOrWhiteSpace
(
mpcModel
?.
WeChatBotWebhookUrl
??
""
)
&&
(
mpcModel
?.
WeChatBotEnabled
??
0
)
==
1
)
if
(
userInfo
.
SimpleEasy
==
1
&&
!
string
.
IsNullOrWhiteSpace
(
mpcModel
?.
WeChatBotWebhookUrl
??
""
)
&&
(
mpcModel
?.
WeChatBotEnabled
??
0
)
==
1
)
{
string
jdName
=
ticketCouponsRepository
.
GetEntity
(
demodel
.
CouponsId
)?.
Name
??
""
;
...
...
@@ -3667,12 +3667,12 @@ namespace REBORN.Module.SellModule
if
(!
string
.
IsNullOrEmpty
(
actionMenu
)
&&
actionMenu
.
Contains
(
"S_CheckAllOrder"
))
//查看全部的订单信息
{
IsAdmin
=
false
;
query
.
EnterID
=
0
;
//
query.EnterID = 0;
}
else
if
(!
string
.
IsNullOrEmpty
(
actionMenu
)
&&
actionMenu
.
Contains
(
"S_CheckBranchOrder"
))
//查看公司下的订单信息
{
IsAdmin
=
false
;
query
.
EnterID
=
0
;
//
query.EnterID = 0;
query
.
EmpBranchId
=
userInfo
.
RB_Branch_id
;
}
}
...
...
@@ -5315,7 +5315,7 @@ namespace REBORN.Module.SellModule
var
mpcModel
=
messagePushConfigRepository
.
GetList
(
new
RB_MessagePushConfig
{
SendType
=
"1"
,
RB_Group_Id
=
demodel
.
GroupId
})?.
FirstOrDefault
()
??
new
RB_MessagePushConfig
();
if
(
userInfo
.
SimpleEasy
==
1
&&
!
string
.
IsNullOrWhiteSpace
(
mpcModel
?.
WeChatBotWebhookUrl
??
""
)
&&
(
mpcModel
?.
WeChatBotEnabled
??
0
)
==
1
)
{
// string jdName = ticketCouponsRepository.GetEntity(demodel.CouponsId)?.Name ?? "";
// string jdName = ticketCouponsRepository.GetEntity(demodel.CouponsId)?.Name ?? "";
//新增订单,推送消息
Dictionary
<
string
,
string
>
dic
=
new
Dictionary
<
string
,
string
>
...
...
REBORN.Module.SellModule/SellOrderModule.cs
View file @
875deee5
...
...
@@ -14712,12 +14712,12 @@ namespace REBORN.Module.SellModule
if (!string.IsNullOrEmpty(actionMenu) && actionMenu.Contains("S_CheckAllOrder"))//查看全部的订单信息
{
isMyOrder = 1;
model.CreateBy = 0;
//
model.CreateBy = 0;
}
else if (!string.IsNullOrEmpty(actionMenu) && actionMenu.Contains("S_CheckBranchOrder"))//查看公司下的订单信息
{
isMyOrder = 1;
model.CreateBy = 0;
//
model.CreateBy = 0;
model.BranchId = userInfo.RB_Branch_id;
}
}
...
...
@@ -16875,12 +16875,13 @@ namespace REBORN.Module.SellModule
string actionMenu = CacheManager.User.RbUserCache.GetUserActionMenu(userInfo.RB_Post_Id);
if (!string.IsNullOrEmpty(actionMenu) && actionMenu.Contains("S_CheckAllOrder"))//查看全部的订单信息
{
model.CreateBy = 0;
isMyOrder = 1;
//model.CreateBy = 0;
}
else if (!string.IsNullOrEmpty(actionMenu) && actionMenu.Contains("S_CheckBranchOrder"))//查看公司下的订单信息
{
isMyOrder = 1;
model.CreateBy = 0;
//
model.CreateBy = 0;
model.BranchId = userInfo.RB_Branch_id;
}
}
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