Esempio n. 1
0
        public static ApprovalStep SelApprovalStep(ApprovalStep _param)
        {
            ApprovalStep tmpApprovalStep = DaoFactory.GetData <ApprovalStep>("Comm.SelApprovalStep", _param);

            tmpApprovalStep.InboxTask = ApprovalTaskRepository.SelInboxTasks(new ApprovalTask {
                StepOID = tmpApprovalStep.OID
            });
            return(tmpApprovalStep);
        }
Esempio n. 2
0
        public static List <ApprovalStep> SelApprovalSteps(ApprovalStep _param)
        {
            List <ApprovalStep> tmpApprovalSteps = DaoFactory.GetList <ApprovalStep>("Comm.SelApprovalStep", _param);

            tmpApprovalSteps.ForEach(step =>
            {
                step.InboxTask = ApprovalTaskRepository.SelInboxTasks(new ApprovalTask {
                    StepOID = step.OID
                });
            });
            return(tmpApprovalSteps);
        }