private void NewCalSalary(Bu_CalSalaryGen v) { SalaryCal salaryCal = SalaryFactory.GetSalaryCal(v.Odr_Type, v.Odr_No_Main, v); bool hasSalary = salaryCal.HasSalary(); if (hasSalary) { salaryCal.DoCal(); } }
private bool NewCalSalary(Bu_CalSalaryGen v) { SalaryCal salaryCal = SalaryFactory.GetSalaryCal(v.Odr_Type, v.Odr_No_Main, v); bool hasSalary = salaryCal.HasSalary(); if (hasSalary) { return(salaryCal.DoCal()); } return(false); }