Beispiel #1
0
    /// <summary>
    /// 查詢有無請假
    /// </summary>
    /// <param name="EmpID"></param>
    /// <param name="VacDate"></param>
    /// <param name="msg"></param>
    /// <returns></returns>
    public static int GetVacInfo(string EmpID, string VacDate, out string msg)
    {
        var result = 0;

        msg = "";

        var viewData = new WorkTimeViewModel()
        {
            EmpID      = EmpID,
            RenderDate = VacDate
        };

        WorkTime.GetVacInfo(viewData, out result, out msg);
        return(result);
    }