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