public void UpdateCheckState(string strEntityName, string EntityKeyName, string EntityKeyValue, string CheckState) { if (CheckState == "delete") { if (strEntityName == "T_HR_ATTENDMONTHLYBATCHBALANCE") { using (AttendMonthlyBatchBalanceBLL bll = new AttendMonthlyBatchBalanceBLL()) { bll.DeleteMonthlyBatchBalance(EntityKeyValue); } } } else { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { bll.UpdateCheckState(strEntityName, EntityKeyName, EntityKeyValue, CheckState); } } }
public string AuditMonthlyBatchBalance(T_HR_ATTENDMONTHLYBATCHBALANCE entTemp) { using (AttendMonthlyBatchBalanceBLL bllAttendMonthlyBatchBalance = new AttendMonthlyBatchBalanceBLL()) { return bllAttendMonthlyBatchBalance.AuditMonthlyBatchBalance(entTemp); } }
public string RemoveAttendMonthlyBatchBalance(string strMonthlyBatchBalanceId) { using (AttendMonthlyBatchBalanceBLL bllAttendMonthlyBatchBalance = new AttendMonthlyBatchBalanceBLL()) { return bllAttendMonthlyBatchBalance.DeleteMonthlyBatchBalance(strMonthlyBatchBalanceId); } }
public T_HR_ATTENDMONTHLYBATCHBALANCE GetAttendMonthlyBatchBalanceByMultSearch(string strOwnerID, string strBalanceObjectType, string strBalanceObjectId, decimal dBalanceYear, decimal dBalanceMonth, string strCheckState) { using (AttendMonthlyBatchBalanceBLL bllAttendMonthlyBatchBalance = new AttendMonthlyBatchBalanceBLL()) { return bllAttendMonthlyBatchBalance.GetAttendMonthlyBatchBalanceByMultSearch(strOwnerID, strBalanceObjectType, strBalanceObjectId, dBalanceYear, dBalanceMonth, strCheckState); } }
public T_HR_ATTENDMONTHLYBATCHBALANCE GetAttendMonthlyBatchBalanceByMonthlyBalanceId(string strAttendMonthlyBalanceId) { using (AttendMonthlyBatchBalanceBLL bllAttendMonthlyBatchBalance = new AttendMonthlyBatchBalanceBLL()) { return bllAttendMonthlyBatchBalance.GetAttendMonthlyBatchBalanceByMonthlyBalanceId(strAttendMonthlyBalanceId); } }
public void UpdateCheckState(string strEntityName, string EntityKeyName, string EntityKeyValue, string CheckState) { if (CheckState == "delete") { if (strEntityName == "T_HR_ATTENDMONTHLYBATCHBALANCE") { using (AttendMonthlyBatchBalanceBLL bll = new AttendMonthlyBatchBalanceBLL()) { bll.DeleteMonthlyBatchBalance(EntityKeyValue); } } } else { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { bll.UpdateCheckState(strEntityName, EntityKeyName, EntityKeyValue, CheckState); } } }