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
62cd468e
Commit
62cd468e
authored
Mar 03, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
94f78049
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
243 additions
and
46 deletions
+243
-46
B2BCustomerController.cs
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
+0
-4
StudentStatController.cs
Edu.WebApi/Controllers/User/StudentStatController.cs
+243
-42
No files found.
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
View file @
62cd468e
...
...
@@ -1059,20 +1059,16 @@ namespace Edu.WebApi.Controllers.Customer
CategoryName
=
base
.
ParmJObj
.
GetStringValue
(
"CategoryName"
),
CatetoryType
=
(
CatetoryTypeEnum
)
base
.
ParmJObj
.
GetInt
(
"CatetoryType"
),
};
query
.
CreateBy
=
userInfo
.
Id
;
var
list
=
customerModule
.
GetCustomerCategoryListModule
(
query
);
List
<
object
>
result
=
new
List
<
object
>();
foreach
(
var
item
in
list
)
{
string
CreateByName
=
UserReidsCache
.
GetUserLoginInfo
(
item
.
CreateBy
)?.
AccountName
??
""
;
result
.
Add
(
new
{
item
.
CategoryId
,
item
.
CategoryName
,
CreateByName
,
item
.
CatetoryType
,
CatetoryTypeName
=
item
.
CatetoryType
.
ToName
(),
CreateTime
=
Common
.
ConvertHelper
.
FormatTime
(
item
.
CreateTime
),
});
}
return
ApiResult
.
Success
(
data
:
result
);
...
...
Edu.WebApi/Controllers/User/StudentStatController.cs
View file @
62cd468e
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