Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
aa7e2f99
Commit
aa7e2f99
authored
Dec 13, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1d5d4ecc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
RB_OrderRepository.cs
Edu.Repository/Sell/RB_OrderRepository.cs
+1
-1
B2BCustomerController.cs
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
+4
-0
No files found.
Edu.Repository/Sell/RB_OrderRepository.cs
View file @
aa7e2f99
...
...
@@ -193,7 +193,7 @@ ORDER BY {orderBy}
{
if
(
demodel
.
Q_OrderState
==
1
)
{
where
+=
$@" and o.
{
nameof
(
RB_Order_ViewModel
.
OrderState
)}
in(1,2)"
;
where
+=
$@" and o.
{
nameof
(
RB_Order_ViewModel
.
OrderState
)}
in(1,2
,4
)"
;
}
else
if
(
demodel
.
Q_OrderState
==
2
)
{
...
...
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
View file @
aa7e2f99
...
...
@@ -138,6 +138,10 @@ namespace Edu.WebApi.Controllers.Customer
{
var
CustomerId
=
base
.
ParmJObj
.
GetInt
(
"CustomerId"
);
var
data
=
customerModule
.
GetCustomerModule
(
CustomerId
);
if
(
data
!=
null
&&
data
.
CreateBy
>
0
)
{
data
.
CreateByName
=
UserReidsCache
.
GetUserLoginInfo
(
data
.
CreateBy
)?.
AccountName
??
""
;
}
return
ApiResult
.
Success
(
data
:
data
);
}
...
...
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