Commit bda0864e authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/Kui2/education

parents 2dd5a27a ae7338bc
...@@ -8,7 +8,7 @@ namespace Edu.Model.ViewModel.Contract ...@@ -8,7 +8,7 @@ namespace Edu.Model.ViewModel.Contract
/// <summary> /// <summary>
/// 学员退课协议视图实体类 /// 学员退课协议视图实体类
/// </summary> /// </summary>
public class RB_BackClass_Protocol_ViewModel: RB_BackClass_Protocol public class RB_BackClass_Protocol_ViewModel : RB_BackClass_Protocol
{ {
/// <summary> /// <summary>
/// 是否查询所有(1-是) /// 是否查询所有(1-是)
...@@ -60,11 +60,11 @@ namespace Edu.Model.ViewModel.Contract ...@@ -60,11 +60,11 @@ namespace Edu.Model.ViewModel.Contract
{ {
str = "待签字"; str = "待签字";
} }
if (this.IsSure == 0&&!string.IsNullOrEmpty(this.PartyASign)) if (this.IsSure == 0 && !string.IsNullOrEmpty(this.PartyASign))
{ {
str = "待确认"; str = "待确认";
} }
if (this.IsSure == 1&&!string.IsNullOrEmpty(this.PartyASign)) if (this.IsSure == 1 && !string.IsNullOrEmpty(this.PartyASign))
{ {
str = "生效"; str = "生效";
} }
...@@ -111,5 +111,43 @@ namespace Edu.Model.ViewModel.Contract ...@@ -111,5 +111,43 @@ namespace Edu.Model.ViewModel.Contract
/// 合同章图片 /// 合同章图片
/// </summary> /// </summary>
public string GroupSealImg { get; set; } 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);
}
}
} }
} }
...@@ -132,6 +132,7 @@ WHERE 1=1 "); ...@@ -132,6 +132,7 @@ WHERE 1=1 ");
{ {
//审核通过自动盖章 //审核通过自动盖章
backprotocolFileds.Add(nameof(RB_BackClass_Protocol_ViewModel.IsCompanySeal), 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)); flag= backClass_ProtocolRepository.Update(backprotocolFileds, new WhereHelper(nameof(RB_BackClass_Protocol_ViewModel.BackId), backModel.BackId));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment