Ejemplo n.º 1
0
        public static List <ApprovalTask> SelInboxTasks(ApprovalTask _param)
        {
            List <ApprovalTask> lApprovalTasks = DaoFactory.GetList <ApprovalTask>("Comm.SelApprovalTask", _param);

            lApprovalTasks.ForEach(task =>
            {
                task.BPolicy = BPolicyRepository.SelBPolicy(new BPolicy {
                    OID = task.BPolicyOID
                }).First();
                task.PersonObj = PersonRepository.SelPerson(new Person {
                    OID = task.PersonOID
                });
                task.PersonNm     = task.PersonObj.Name;
                task.DepartmentNm = task.PersonObj.DepartmentNm;
            });
            return(lApprovalTasks);;
        }
Ejemplo n.º 2
0
 public static int UdtInboxTask(ApprovalTask _param)
 {
     return(DaoFactory.SetUpdate("Comm.UdtInboxTask", _param));
 }
Ejemplo n.º 3
0
 public static int InsInboxTask(ApprovalTask _param)
 {
     return(DaoFactory.SetInsert("Comm.InsApprovalTask", _param));
 }