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
2326923c
Commit
2326923c
authored
Mar 11, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d676f12d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
166 additions
and
19 deletions
+166
-19
CustomerStudentModule.cs
Edu.Module.Customer/CustomerStudentModule.cs
+139
-19
CustomerStudentController.cs
Edu.WebApi/Controllers/Customer/CustomerStudentController.cs
+27
-0
No files found.
Edu.Module.Customer/CustomerStudentModule.cs
View file @
2326923c
This diff is collapsed.
Click to expand it.
Edu.WebApi/Controllers/Customer/CustomerStudentController.cs
View file @
2326923c
using
Edu.Cache.User
;
using
Edu.Common.API
;
using
Edu.Common.Enum.Course
;
using
Edu.Common.Enum.User
;
using
Edu.Common.Plugin
;
using
Edu.Model.Entity.System
;
...
...
@@ -184,6 +185,32 @@ namespace Edu.WebApi.Controllers.Customer
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
/// <summary>
/// 新增修改学员跟进
/// </summary>
/// <returns></returns>
[
HttpPost
]
public
ApiResult
SetStudentBaseInfo
()
{
var
extModel
=
new
RB_Student_Follow_Extend
()
{
Id
=
base
.
ParmJObj
.
GetInt
(
"Id"
),
StuId
=
base
.
ParmJObj
.
GetInt
(
"StuId"
),
Remark
=
base
.
ParmJObj
.
GetStringValue
(
"Remark"
),
};
string
StuProfession
=
base
.
ParmJObj
.
GetStringValue
(
"StuProfession"
);
int
StuPurpose
=
base
.
ParmJObj
.
GetInt
(
"StuPurpose"
);
extModel
.
CreateBy
=
base
.
UserInfo
.
Id
;
extModel
.
CreateTime
=
DateTime
.
Now
;
extModel
.
UpdateBy
=
base
.
UserInfo
.
Id
;
extModel
.
UpdateTime
=
DateTime
.
Now
;
extModel
.
Group_Id
=
base
.
UserInfo
.
Group_Id
;
bool
flag
=
customerStudentModule
.
SetStudentBaseInfoModule
(
extModel
,
StuProfession
,
StuPurpose
);
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
/// <summary>
/// 根据编号获取跟进信息
/// </summary>
...
...
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