Ejemplo n.º 1
0
        public PayNoticeEntity GetModel(PayNoticeQuery query)
        {
            IPayNoticeService service = ServiceContainer.Instance.Container.Resolve <IPayNoticeService>();
            PayNoticeEntity   model   = service.GetPayNotice(query.NoticeID);

            return(model);
        }
Ejemplo n.º 2
0
        public IList <PayNoticeEntity> GetList(PayNoticeQuery query)
        {
            IPayNoticeService       service = ServiceContainer.Instance.Container.Resolve <IPayNoticeService>();
            IList <PayNoticeEntity> list    = service.GetPayNoticeList(query);

            return(list);
        }
Ejemplo n.º 3
0
        public Pager <PayNoticeEntity> GetPageList(PayNoticeQuery query)
        {
            IPayNoticeService       service = ServiceContainer.Instance.Container.Resolve <IPayNoticeService>();
            Pager <PayNoticeEntity> pager   = service.GetPayNoticePageList(query);

            return(pager);
        }
Ejemplo n.º 4
0
        public ExecResult ChangeStatus(PayNoticeQuery query)
        {
            IPayNoticeService service = ServiceContainer.Instance.Container.Resolve <IPayNoticeService>();
            ExecResult        result  = service.ChangeStatus(query);

            return(result);
        }
Ejemplo n.º 5
0
        public ExecResult Del(PayNoticeQuery query)
        {
            IPayNoticeService service = ServiceContainer.Instance.Container.Resolve <IPayNoticeService>();

            return(service.Del(query.NoticeIDs));
        }
Ejemplo n.º 6
0
        public ExecResult BatchSave(IList <PayNoticeEntity> list)
        {
            IPayNoticeService service = ServiceContainer.Instance.Container.Resolve <IPayNoticeService>();

            return(service.BatchSave(list));
        }
Ejemplo n.º 7
0
        public ExecResult Save(PayNoticeEntity model)
        {
            IPayNoticeService service = ServiceContainer.Instance.Container.Resolve <IPayNoticeService>();

            return(service.Save(model));
        }