예제 #1
0
        /**********************************************************************************************
         * Mehtod   명 : GetWorkflowHierachyInCharge
         * 개   발  자 : 양영석
         * 생   성  일 : 2014-02-22
         * 용       도 : WorkflowHierachy 인력배정용 목록조회
         * Input    값 : GetWorkflowHierachyInCharge(Scheme Code, Scheme Sequence)
         * Ouput    값 : SigmaResultType
         **********************************************************************************************/
        /// <summary>
        /// GetWorkflowHierachyInCharge : WorkflowHierachy 인력배정용 목록조회
        /// </summary>
        /// <param name="SchemeCode">Scheme Code</param>
        /// <param name="SchemeSeq">Scheme Sequence</param>
        /// <returns>SigmaResultType</returns>
        public SigmaResultType GetWorkflowHierachyInCharge(string SchemeCode, int SchemeSeq)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                WorkflowMgr workflowMgr = new WorkflowMgr();

                // wfp_GetWorkflowHierachyInCharge
                result = workflowMgr.GetWorkflowHierachyInCharge(SchemeCode, SchemeSeq);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }