Commit d1950511 authored by liudong1993's avatar liudong1993

1

parent c7ffd94c
...@@ -528,11 +528,20 @@ namespace REBORN.Module.DMCModule ...@@ -528,11 +528,20 @@ namespace REBORN.Module.DMCModule
//投诉信息 //投诉信息
var Contract_Complaint = dictvalueRepository.GetList(new RB_Dictvalue_Extend() { RB_Group_id = htModel.RB_Group_Id, DictKey = "Contract_Complaint" }).FirstOrDefault(); var Contract_Complaint = dictvalueRepository.GetList(new RB_Dictvalue_Extend() { RB_Group_id = htModel.RB_Group_Id, DictKey = "Contract_Complaint" }).FirstOrDefault();
string AuthType = "1";
//取消人脸识别
var Contract_CancelFaceList = dictvalueRepository.GetList(new RB_Dictvalue_Extend() { RB_Group_id = htModel.RB_Group_Id, DictKey = "Contract_CancelFace" });
if (Contract_CancelFaceList != null && Contract_CancelFaceList.Any(x => x.Name == htModel.Business_Certificate))
{
//配置取消
AuthType = "0";
}
Console.WriteLine("4"); Console.WriteLine("4");
var req = new ApplyContractRequest var req = new ApplyContractRequest
{ {
ERPContractId = htModel.ContractNum, ERPContractId = htModel.ContractNum,
AuthType = QZModel.IDType == 1 ? "1" : "0", AuthType = AuthType,
TemplateId = "C00001", TemplateId = "C00001",
CallbackURL = "http://htapi.oytour.com/api/PayNotify/ContractNotify", CallbackURL = "http://htapi.oytour.com/api/PayNotify/ContractNotify",
IsMultiSignatory = false, IsMultiSignatory = false,
...@@ -1409,10 +1418,19 @@ namespace REBORN.Module.DMCModule ...@@ -1409,10 +1418,19 @@ namespace REBORN.Module.DMCModule
} }
#endregion #endregion
string AuthType = "1";
//取消人脸识别
var Contract_CancelFaceList = dictvalueRepository.GetList(new RB_Dictvalue_Extend() { RB_Group_id = htModel.RB_Group_Id, DictKey = "Contract_CancelFace" });
if (Contract_CancelFaceList != null && Contract_CancelFaceList.Any(x => x.Name == htModel.TravelAgency_LicenseNum))
{
//配置取消
AuthType = "0";
}
var req = new ApplyContractRequest var req = new ApplyContractRequest
{ {
ERPContractId = htModel.T_ContractNum, ERPContractId = htModel.T_ContractNum,
AuthType = QZModel.IDType == 1 ? "1" : "0", AuthType = AuthType,
TemplateId = "",//子方法新增 TemplateId = "",//子方法新增
CallbackURL = "http://htapi.oytour.com/api/PayNotify/ContractNotify", CallbackURL = "http://htapi.oytour.com/api/PayNotify/ContractNotify",
IsMultiSignatory = false, IsMultiSignatory = false,
......
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