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
bda0864e
Commit
bda0864e
authored
Aug 06, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/education
parents
2dd5a27a
ae7338bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
3 deletions
+42
-3
RB_BackClass_Protocol_ViewModel.cs
...del/ViewModel/Contract/RB_BackClass_Protocol_ViewModel.cs
+41
-3
RB_Student_BackClassRepository.cs
Edu.Repository/BackClass/RB_Student_BackClassRepository.cs
+1
-0
No files found.
Edu.Model/ViewModel/Contract/RB_BackClass_Protocol_ViewModel.cs
View file @
bda0864e
...
...
@@ -8,7 +8,7 @@ namespace Edu.Model.ViewModel.Contract
/// <summary>
/// 学员退课协议视图实体类
/// </summary>
public
class
RB_BackClass_Protocol_ViewModel
:
RB_BackClass_Protocol
public
class
RB_BackClass_Protocol_ViewModel
:
RB_BackClass_Protocol
{
/// <summary>
/// 是否查询所有(1-是)
...
...
@@ -60,11 +60,11 @@ namespace Edu.Model.ViewModel.Contract
{
str
=
"待签字"
;
}
if
(
this
.
IsSure
==
0
&&
!
string
.
IsNullOrEmpty
(
this
.
PartyASign
))
if
(
this
.
IsSure
==
0
&&
!
string
.
IsNullOrEmpty
(
this
.
PartyASign
))
{
str
=
"待确认"
;
}
if
(
this
.
IsSure
==
1
&&
!
string
.
IsNullOrEmpty
(
this
.
PartyASign
))
if
(
this
.
IsSure
==
1
&&
!
string
.
IsNullOrEmpty
(
this
.
PartyASign
))
{
str
=
"生效"
;
}
...
...
@@ -111,5 +111,43 @@ namespace Edu.Model.ViewModel.Contract
/// 合同章图片
/// </summary>
public
string
GroupSealImg
{
get
;
set
;
}
/// <summary>
/// 甲方签署日期
/// </summary>
public
string
PartyASignDateStr
{
get
{
return
Common
.
ConvertHelper
.
FormatDate
(
this
.
PartyASignDate
);
}
}
/// <summary>
/// 退款协议签订日期
/// </summary>
public
string
SignDateStr
{
get
{
string
str
=
Common
.
ConvertHelper
.
FormatDate
(
this
.
SignDate
);
if
(
string
.
IsNullOrEmpty
(
str
))
{
str
=
Common
.
ConvertHelper
.
FormatDate
(
DateTime
.
Now
);
}
return
str
;
}
}
/// <summary>
/// 退款协议公司盖章签订日期
/// </summary>
public
string
PartyBSignDateStr
{
get
{
return
Common
.
ConvertHelper
.
FormatDate
(
this
.
PartyBSignDate
);
}
}
}
}
Edu.Repository/BackClass/RB_Student_BackClassRepository.cs
View file @
bda0864e
...
...
@@ -132,6 +132,7 @@ WHERE 1=1 ");
{
//审核通过自动盖章
backprotocolFileds
.
Add
(
nameof
(
RB_BackClass_Protocol_ViewModel
.
IsCompanySeal
),
1
);
backprotocolFileds
.
Add
(
nameof
(
RB_BackClass_Protocol_ViewModel
.
PartyBSignDate
),
DateTime
.
Now
);
}
//更新退课协议审核状态
flag
=
backClass_ProtocolRepository
.
Update
(
backprotocolFileds
,
new
WhereHelper
(
nameof
(
RB_BackClass_Protocol_ViewModel
.
BackId
),
backModel
.
BackId
));
...
...
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