Commit c9cc74ca authored by liudong1993's avatar liudong1993

1

parent b93d60be
...@@ -796,8 +796,8 @@ namespace REBORN.Module.DMCModule ...@@ -796,8 +796,8 @@ namespace REBORN.Module.DMCModule
string contractType = data.GetStringValue("contractType");// 暂时没有 补充协议一说 string contractType = data.GetStringValue("contractType");// 暂时没有 补充协议一说
string contractNumber = data.GetStringValue("contractNumber"); string contractNumber = data.GetStringValue("contractNumber");
//string sign = data.GetStringValue("sign");//暂时不验证签名 //string sign = data.GetStringValue("sign");//暂时不验证签名
JObject url = JObject.Parse(data.GetStringValue("url")); //JObject url = JObject.Parse(data.GetStringValue("url"));
string fileURL = url.GetStringValue("fileURL"); //string fileURL = url.GetStringValue("fileURL");
//根据合同编号 查询合同 //根据合同编号 查询合同
var model = contractRepository.GetEntityExtRepository(new RB_Contract_Extend() { ThirdContractID = contractNumber }).FirstOrDefault(); var model = contractRepository.GetEntityExtRepository(new RB_Contract_Extend() { ThirdContractID = contractNumber }).FirstOrDefault();
...@@ -805,7 +805,7 @@ namespace REBORN.Module.DMCModule ...@@ -805,7 +805,7 @@ namespace REBORN.Module.DMCModule
{ {
Dictionary<string, object> keyValues = new Dictionary<string, object>() { Dictionary<string, object> keyValues = new Dictionary<string, object>() {
{ nameof(RB_Contract_Extend.ThirdContractState), state}, { nameof(RB_Contract_Extend.ThirdContractState), state},
{ nameof(RB_Contract_Extend.ThirdContractFileUrl), fileURL}, //{ nameof(RB_Contract_Extend.ThirdContractFileUrl), fileURL},
}; };
if (state == 2) if (state == 2)
{ {
...@@ -827,7 +827,7 @@ namespace REBORN.Module.DMCModule ...@@ -827,7 +827,7 @@ namespace REBORN.Module.DMCModule
{ {
Dictionary<string, object> keyValues = new Dictionary<string, object>() { Dictionary<string, object> keyValues = new Dictionary<string, object>() {
{ nameof(RB_Travel_Contract_Extend.ThirdContractState), state}, { nameof(RB_Travel_Contract_Extend.ThirdContractState), state},
{ nameof(RB_Travel_Contract_Extend.ThirdContractFileUrl), fileURL}, //{ nameof(RB_Travel_Contract_Extend.ThirdContractFileUrl), fileURL},
}; };
if (state == 2) if (state == 2)
{ {
...@@ -1606,6 +1606,18 @@ namespace REBORN.Module.DMCModule ...@@ -1606,6 +1606,18 @@ namespace REBORN.Module.DMCModule
#endregion #endregion
foreach (var item in termsList.Where(x => x.SNO == 5)) foreach (var item in termsList.Where(x => x.SNO == 5))
{
if (item.Name == "代订服务的责任约定" && htModel.OtherConventionPrice > 0 && htModel.RB_Group_Id == 106)
{
//邮轮的 就使用 6
var tmodel = termsList.Where(x => x.SNO == 6).FirstOrDefault();
clause.Add(new Clause()
{
Item = tmodel.Name,
Hint = tmodel.Content
});
}
else
{ {
clause.Add(new Clause() clause.Add(new Clause()
{ {
...@@ -1613,6 +1625,7 @@ namespace REBORN.Module.DMCModule ...@@ -1613,6 +1625,7 @@ namespace REBORN.Module.DMCModule
Hint = item.Content Hint = item.Content
}); });
} }
}
req.SupplementaryClause = ""; req.SupplementaryClause = "";
req.TourGuides = null; req.TourGuides = null;
......
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