|
|
|
@ -817,7 +817,7 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
}); |
|
|
|
|
Db.Ado.CommitTran(); |
|
|
|
|
|
|
|
|
|
sql = @"SELECT Langkey field,
|
|
|
|
|
string sqlLang = @"SELECT Langkey field,
|
|
|
|
|
CASE {2} |
|
|
|
|
WHEN 1 THEN isnull (Value01, LangValue) |
|
|
|
|
WHEN 2 THEN isnull (Value02, LangValue) |
|
|
|
@ -833,8 +833,7 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
FROM Ghrs_LangKey |
|
|
|
|
WHERE IsEnable = 1 |
|
|
|
|
AND (LangKey LIKE 'GHR_Page%' OR LangKey LIKE 'GHR_Common%')";
|
|
|
|
|
sql = string.Format(sql, param.menuName, App.User.ID, param.langId); |
|
|
|
|
result.DT_PageMutiMsg = Db.Ado.SqlQuery<DT_PageMutiMsg>(sql); |
|
|
|
|
sqlLang = string.Format(sqlLang, param.menuName, App.User.ID, param.langId); |
|
|
|
|
|
|
|
|
|
sql = "select QueryProcedure, EditProcedure, IUDProcedure from Ghrs_Menu where MenuNo='{0}'"; |
|
|
|
|
sql = string.Format(sql, param.menuName, App.User.ID, param.langId); |
|
|
|
@ -851,7 +850,6 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
result.DT_Procedure.ExportExcel = result.DT_Procedure.EditProcedure.Replace("QueryForm", "ExportExcel"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
#region 特殊处理 |
|
|
|
@ -1897,6 +1895,42 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
#region 多语返回处理 |
|
|
|
|
if (param.menuName == "F_ResumeMaintenance_All" || |
|
|
|
|
param.menuName == "F_ResumeMaintenance_Process" || |
|
|
|
|
param.menuName == "F_ResumeMaintenance_Hire" || |
|
|
|
|
param.menuName == "F_ResumeMaintenance_Talent_Pool" || |
|
|
|
|
param.menuName == "F_ResumeMaintenance_Recycled" || |
|
|
|
|
param.menuName == "F_ResumeMaintenance_Blacklist" || |
|
|
|
|
param.menuName == "F_ESS_Candidate" || |
|
|
|
|
param.menuName == "F_ESS_Interview" || |
|
|
|
|
param.menuName == "F_ESS_Hire" || |
|
|
|
|
param.menuName == "F_ResumeMaintenance_Talent_Pool") |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
sqlLang = @"SELECT Langkey field,
|
|
|
|
|
CASE {2} |
|
|
|
|
WHEN 1 THEN isnull (Value01, LangValue) |
|
|
|
|
WHEN 2 THEN isnull (Value02, LangValue) |
|
|
|
|
WHEN 3 THEN isnull (Value03, LangValue) |
|
|
|
|
WHEN 4 THEN isnull (Value04, LangValue) |
|
|
|
|
WHEN 5 THEN isnull (Value05, LangValue) |
|
|
|
|
WHEN 6 THEN isnull (Value06, LangValue) |
|
|
|
|
WHEN 7 THEN isnull (Value07, LangValue) |
|
|
|
|
WHEN 8 THEN isnull (Value08, LangValue) |
|
|
|
|
WHEN 9 THEN isnull (Value09, LangValue) |
|
|
|
|
WHEN 10 THEN isnull (Value10, LangValue) |
|
|
|
|
END label |
|
|
|
|
FROM Ghrs_LangKey |
|
|
|
|
WHERE IsEnable = 1 |
|
|
|
|
AND (LangKey LIKE 'F_ResumeMaintenance_%')";
|
|
|
|
|
sqlLang = string.Format(sqlLang, param.menuName, App.User.ID, param.langId); |
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
result.DT_PageMutiMsg = Db.Ado.SqlQuery<DT_PageMutiMsg>(sqlLang); |
|
|
|
|
|
|
|
|
|
return new ServiceResult<ModuleReturn>() { Success = true, Message = "查询成功", Data = result, }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|