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
eaf1cae3
Commit
eaf1cae3
authored
Dec 15, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
dd35de86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
RB_StudentRepository.cs
Edu.Repository/User/RB_StudentRepository.cs
+23
-0
No files found.
Edu.Repository/User/RB_StudentRepository.cs
View file @
eaf1cae3
...
@@ -37,6 +37,11 @@ namespace Edu.Repository.User
...
@@ -37,6 +37,11 @@ namespace Edu.Repository.User
/// </summary>
/// </summary>
private
readonly
RB_StageRepository
stageRepository
=
new
RB_StageRepository
();
private
readonly
RB_StageRepository
stageRepository
=
new
RB_StageRepository
();
/// <summary>
/// 同业客户仓储层对象
/// </summary>
private
readonly
RB_CustomerRepository
customerRepository
=
new
RB_CustomerRepository
();
/// <summary>
/// <summary>
/// 获取学生列表
/// 获取学生列表
/// </summary>
/// </summary>
...
@@ -350,6 +355,24 @@ WHERE o.OrderState=1 and og.`Status`=0 and sog.`Status`=0 and og.GuestState=1 an
...
@@ -350,6 +355,24 @@ WHERE o.OrderState=1 and og.`Status`=0 and sog.`Status`=0 and og.GuestState=1 an
}
}
if
(
oldModel
.
StuSourceId
!=
model
.
StuSourceId
)
if
(
oldModel
.
StuSourceId
!=
model
.
StuSourceId
)
{
{
string
oldName
=
""
;
string
newName
=
""
;
if
(
oldModel
.
CreateType
==
Common
.
Enum
.
User
.
StuCreateTypeEnum
.
InternalIntroduction
)
{
oldName
=
accountRepository
.
GetEmployeeInfo
(
oldModel
.
StuSourceId
)?.
EmployeeName
??
""
;
}
if
(
oldModel
.
CreateType
==
Common
.
Enum
.
User
.
StuCreateTypeEnum
.
TransIntroduction
)
{
oldName
=
customerRepository
.
GetEntity
(
oldModel
.
StuSourceId
)?.
CustomerName
??
""
;
}
if
(
model
.
CreateType
==
Common
.
Enum
.
User
.
StuCreateTypeEnum
.
InternalIntroduction
)
{
newName
=
accountRepository
.
GetEmployeeInfo
(
model
.
StuSourceId
)?.
EmployeeName
??
""
;
}
if
(
model
.
CreateType
==
Common
.
Enum
.
User
.
StuCreateTypeEnum
.
TransIntroduction
)
{
newName
=
customerRepository
.
GetEntity
(
model
.
StuSourceId
)?.
CustomerName
??
""
;
}
logContent
+=
string
.
Format
(
"来源人:由【{0}】=>【{1}】,"
,
oldModel
.
StuSourceId
,
model
.
StuSourceId
);
logContent
+=
string
.
Format
(
"来源人:由【{0}】=>【{1}】,"
,
oldModel
.
StuSourceId
,
model
.
StuSourceId
);
}
}
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
...
...
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