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
7ddbdb59
Commit
7ddbdb59
authored
Jul 16, 2021
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
ea349022
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
EducationReceiptModule.cs
Edu.Module.EduTask/EducationReceiptModule.cs
+18
-3
No files found.
Edu.Module.EduTask/EducationReceiptModule.cs
View file @
7ddbdb59
...
@@ -432,15 +432,30 @@ namespace Edu.Module.EduTask
...
@@ -432,15 +432,30 @@ namespace Edu.Module.EduTask
/// </summary>
/// </summary>
/// <param name="Id"></param>
/// <param name="Id"></param>
/// <returns></returns>
/// <returns></returns>
[
TransactionCallHandler
]
public
bool
InvalidReceiptModule
(
int
Id
)
public
bool
InvalidReceiptModule
(
int
Id
)
{
{
bool
flag
=
false
;
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
{
nameof
(
RB_Education_Receipt_ViewModel
.
VerifyStatus
),(
int
)
Edu
.
Common
.
Enum
.
User
.
WFRrocessStatus
.
Invalid
}
{
nameof
(
RB_Education_Receipt_ViewModel
.
VerifyStatus
),(
int
)
Edu
.
Common
.
Enum
.
User
.
WFRrocessStatus
.
Invalid
}
};
};
return
education_ReceiptRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Education_Receipt_ViewModel
.
Id
),
Id
));
flag
=
education_ReceiptRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Education_Receipt_ViewModel
.
Id
),
Id
));
if
(
flag
)
{
var
model
=
education_ReceiptRepository
.
GetEntity
(
Id
);
if
(
model
!=
null
&&
model
.
ReceiptType
==
Common
.
Enum
.
Finance
.
ReceiptTypeEnum
.
StopClass
)
{
student_StopClassRepository
.
UpdateStudentStopClass
(
model
.
Id
,
4
);
}
}
return
flag
;
}
}
/// <summary>
/// <summary>
/// 修改审核人员
/// 修改审核人员
/// </summary>
/// </summary>
...
@@ -1035,11 +1050,11 @@ namespace Edu.Module.EduTask
...
@@ -1035,11 +1050,11 @@ namespace Edu.Module.EduTask
{
{
if
(
auditModel
.
AuditStatus
==
2
)
if
(
auditModel
.
AuditStatus
==
2
)
{
{
flag
=
student_StopClassRepository
.
UpdateStudentStopClass
(
receiptModel
,
auditModel
.
AuditStatus
);
flag
=
student_StopClassRepository
.
UpdateStudentStopClass
(
receiptModel
.
Id
,
auditModel
.
AuditStatus
);
}
}
if
(
auditModel
.
AuditStatus
==
3
)
if
(
auditModel
.
AuditStatus
==
3
)
{
{
flag
=
student_StopClassRepository
.
UpdateStudentStopClass
(
receiptModel
,
auditModel
.
AuditStatus
);
flag
=
student_StopClassRepository
.
UpdateStudentStopClass
(
receiptModel
.
Id
,
auditModel
.
AuditStatus
);
}
}
}
}
return
flag
;
return
flag
;
...
...
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