|
|
@ -146,11 +146,19 @@ public class Ghrh_TemplateServices : BaseServices<Ghrh_Template, Ghrh_TemplateDt |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
#region 薪资 |
|
|
|
#region 试用期薪资 |
|
|
|
if (offerApplyOrder.ProbationSalary.IsNotEmptyOrNull()) |
|
|
|
if (offerApplyOrder.ProbationSalary.IsNotEmptyOrNull()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
result = result.Replace("[Salary_EN]", offerApplyOrder.ProbationSalary.ObjToString()); |
|
|
|
result = result.Replace("[Salary_EN]", offerApplyOrder.ProbationSalary.ObjToString()); |
|
|
|
result = result.Replace("[薪资]", offerApplyOrder.ProbationSalary.ObjToString()); |
|
|
|
result = result.Replace("[试用期薪资]", offerApplyOrder.ProbationSalary.ObjToString()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 薪资 |
|
|
|
|
|
|
|
if (offerApplyOrder.ProbationSalary.IsNotEmptyOrNull()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
result = result.Replace("[AfterSalary_EN]", offerApplyOrder.ProbationAfterSalary.ObjToString()); |
|
|
|
|
|
|
|
result = result.Replace("[薪资]", offerApplyOrder.ProbationAfterSalary.ObjToString()); |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
@ -204,11 +212,11 @@ public class Ghrh_TemplateServices : BaseServices<Ghrh_Template, Ghrh_TemplateDt |
|
|
|
result = result.Replace("[扩展栏位" + i + "]", null); |
|
|
|
result = result.Replace("[扩展栏位" + i + "]", null); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
StringHelper.GetFieldDesc<OfferTemplate>().Select(o => new ModelTagView2Item { Name = o.Key, Code = o.Key }).ToList() |
|
|
|
StringHelper.GetFieldDesc<OfferTemplate>().Select(o => new ModelTagView2Item { Name = o.Value, Code = o.Key }).ToList() |
|
|
|
.ForEach(x => |
|
|
|
.ForEach(x => |
|
|
|
{ |
|
|
|
{ |
|
|
|
result = result.Replace("[" + x.Code + "]", null); |
|
|
|
result = result.Replace("[" + x.Code + "]", null); |
|
|
|
result = result.Replace("[" + x.Code + "_EN]", null); |
|
|
|
result = result.Replace("[" + x.Name + "_EN]", null); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
return await Task.FromResult(ServiceResult<string>.OprateSuccess("查询成功!", result)); |
|
|
|
return await Task.FromResult(ServiceResult<string>.OprateSuccess("查询成功!", result)); |
|
|
|