master
孤兰 3 weeks ago
parent cdbbf260e9
commit 472d90e84a
  1. 10
      Tiobon.Core.Services/Ghrp/Ghrp_PerformanceTemplateServices.cs

@ -29,11 +29,13 @@ namespace Tiobon.Core.Services
result.result.DT_TableDataT1.ForEach(async x =>
{
x.StageItem = await GetParaLabel("PerformanceStageItem", x.StageItem);
x.MGShowType = await GetParaLabelListString("Performance", "PerformanceMGShowType", x.MGShowType);
x.TemplateType = await GetParaLabelListString("Performance", "PerformanceTemplateType", x.TemplateType);
x.StaffGroupName = Db.Ado.GetString("select StaffGroupName from Ghra_StaffGroup where StaffGroupID=@StaffGroupID"
x.MGShowType = await GetParaLabel("PerformanceMGShowType", x.MGShowType);
x.TemplateType = await GetParaLabel("PerformanceTemplateType", x.TemplateType);
//x.MGShowType = await GetParaLabelListString("Performance", "PerformanceMGShowType", x.MGShowType);
//x.TemplateType = await GetParaLabelListString("Performance", "PerformanceTemplateType", x.TemplateType);
x.StaffGroupName = Db.Ado.GetString("select StaffGroupName from Ghra_StaffGroup where ID=@StaffGroupID"
, new { StaffGroupID = x.StaffGroupID });
x.PeriodTypeName = Db.Ado.GetString("select PeriodTypeName from Ghrp_PerformancePeriodType where PerformancePeriodTypeID=@PerformancePeriodTypeID"
x.PeriodTypeName = Db.Ado.GetString("select PeriodTypeName from Ghrp_PerformancePeriodType where ID=@PerformancePeriodTypeID"
, new { PerformancePeriodTypeID = x.PerformancePeriodTypeID });
});
return result;

Loading…
Cancel
Save