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
603a3995
Commit
603a3995
authored
Dec 16, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
83deee39
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletion
+11
-1
RB_Customer_Extend.cs
Edu.Model/ViewModel/Customer/RB_Customer_Extend.cs
+5
-0
RB_CustomerRepository.cs
Edu.Repository/Customer/RB_CustomerRepository.cs
+4
-0
OrderController.cs
Edu.WebApi/Controllers/Course/OrderController.cs
+1
-1
B2BCustomerController.cs
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
+1
-0
No files found.
Edu.Model/ViewModel/Customer/RB_Customer_Extend.cs
View file @
603a3995
...
...
@@ -74,6 +74,11 @@ namespace Edu.Model.ViewModel.Customer
/// </summary>
public
int
QCustomerState
{
get
;
set
;
}
/// <summary>
/// 查询同业类型 1非关联同业客人
/// </summary>
public
int
QCustomerType
{
get
;
set
;
}
/// <summary>
/// 同业Ids
/// </summary>
...
...
Edu.Repository/Customer/RB_CustomerRepository.cs
View file @
603a3995
...
...
@@ -43,6 +43,10 @@ WHERE 1=1
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Extend
.
CustomerId
),
query
.
CustomerId
);
}
if
(
query
.
QCustomerType
==
1
)
{
builder
.
AppendFormat
(
" AND A.{0}=0 "
,
nameof
(
RB_Customer_Extend
.
CustomerId
));
}
if
(
query
.
CreateBy
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Extend
.
CreateBy
),
query
.
CreateBy
);
...
...
Edu.WebApi/Controllers/Course/OrderController.cs
View file @
603a3995
...
...
@@ -1291,7 +1291,7 @@ namespace Edu.WebApi.Controllers.Course
return
ApiResult
.
Success
();
}
else
{
return
ApiResult
.
Failed
();
return
ApiResult
.
Failed
(
msg
);
}
}
...
...
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
View file @
603a3995
...
...
@@ -459,6 +459,7 @@ namespace Edu.WebApi.Controllers.Customer
ContactNumber
=
base
.
ParmJObj
.
GetStringValue
(
"ContactNumber"
),
ApproveState
=
base
.
ParmJObj
.
GetInt
(
"ApproveState"
),
QCustomerState
=
base
.
ParmJObj
.
GetInt
(
"QCustomerState"
),
QCustomerType
=
base
.
ParmJObj
.
GetInt
(
"QCustomerType"
,
-
1
)
};
query
.
CreateBy
=
userInfo
.
Id
;
var
list
=
customerModule
.
GetCustomerPageModule_V2
(
pageModel
.
PageIndex
,
pageModel
.
PageSize
,
out
long
rowsCount
,
query
);
...
...
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