讲师维护新增Excel数据导入

master
xiaochanghai 6 months ago
parent 59c4bdb868
commit 0023aabc84
  1. 7
      Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs

@ -4102,6 +4102,11 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1
dict.Add("OvertimeRuleID", null); dict.Add("OvertimeRuleID", null);
dict.Add("TaxID", null); dict.Add("TaxID", null);
if(type != "Fast")
{
}
if (dict.Count > 0) if (dict.Count > 0)
staffId = await Db.Insertable(dict).AS("Ghra_Staff").ExecuteReturnIdentityAsync(); staffId = await Db.Insertable(dict).AS("Ghra_Staff").ExecuteReturnIdentityAsync();
if (staffId > 0) if (staffId > 0)
@ -4479,7 +4484,7 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1
catch (Exception E) catch (Exception E)
{ {
await Db.Ado.RollbackTranAsync(); await Db.Ado.RollbackTranAsync();
throw E; throw;
} }
} }
#endregion #endregion

Loading…
Cancel
Save