示例#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);
        }
示例#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);
        }