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
43832651
Commit
43832651
authored
3 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
62cd468e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CustomerModule.cs
Edu.Module.Customer/CustomerModule.cs
+3
-1
No files found.
Edu.Module.Customer/CustomerModule.cs
View file @
43832651
...
...
@@ -676,13 +676,15 @@ namespace Edu.Module.Customer
{
bool
flag
=
false
;
var
list
=
customerRepository
.
GetCustomerListRepository
(
new
RB_Customer_Extend
()
{
CategoryId
=
CategoryId
});
var
cateModel
=
GetCustomerCategoryModule
(
NewCategoryId
);
if
(
list
!=
null
&&
list
.
Count
>
0
)
{
foreach
(
var
item
in
list
)
{
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Customer_Extend
.
CategoryId
),
NewCategoryId
}
{
nameof
(
RB_Customer_Extend
.
CategoryId
),
NewCategoryId
},
{
nameof
(
RB_Customer_Extend
.
CustomerType
),(
int
)
cateModel
.
CatetoryType
},
};
customerRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Customer_Extend
.
CustomerId
),
item
.
CustomerId
));
}
...
...
This diff is collapsed.
Click to expand it.
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