コード例 #1
0
        public Respbase SendEmail(SendEmailReq req)
        {
            InvioceFacade facade = new InvioceFacade();

            facade.SendEmail(req);
            return(new Respbase {
                Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message
            });
        }
コード例 #2
0
        public ActionResult VerifyWriteInvioce(VerifyWriteInvioceReq req)
        {
            InvioceFacade facaed = new InvioceFacade();
            var           result = facaed.VerifyWriteInvioce(req);

            if (!result)
            {
                return(Json(new { Data = result, Message = facaed.PromptInfo.Message, Result = -1 }));
            }
            return(Json(new { Data = result, Message = "成功", Result = 1 }));
        }
コード例 #3
0
        public ActionResult GetWriteInvioceList(GetWriteInvioceListReq req)
        {
            InvioceFacade facaed = new InvioceFacade();
            var           result = facaed.GetWriteInvioceList(req);

            if (result == null)
            {
                return(Json(new { Data = result, Message = facaed.PromptInfo.Message, Result = -1 }));
            }
            return(Json(new { Data = result, Message = "成功", Result = 1 }));
        }
コード例 #4
0
        public Respbase ApplyInvioceQualifica(ApplyInvioceQualificaReq req)
        {
            InvioceFacade facade = new InvioceFacade();
            var           result = facade.ApplyInvioceQualifica(req);

            if (result)
            {
                return(new Respbase {
                    Result = 1, Message = facade.PromptInfo.Message
                });
            }
            return(new Respbase {
                Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message
            });
        }
コード例 #5
0
        public Respbase <List <InvioceAlreadyApplyDto> > GetAlreadyApplyInvioceHis(PageBase req)
        {
            InvioceFacade facade = new InvioceFacade();
            var           result = facade.GetAlreadyApplyInvioceHis(req);

            if (result != null)
            {
                return(new Respbase <List <InvioceAlreadyApplyDto> > {
                    Result = 1, Message = facade.PromptInfo.Message, Data = result
                });
            }
            return(new Respbase <List <InvioceAlreadyApplyDto> > {
                Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message
            });
        }
コード例 #6
0
        public Respbase <InvioceStatisticsDto> GetInvioceStatistics(Reqbase req)
        {
            InvioceFacade facade = new InvioceFacade();
            var           result = facade.GetInvioceStatistics(req);

            if (result != null)
            {
                return(new Respbase <InvioceStatisticsDto> {
                    Result = 1, Message = facade.PromptInfo.Message, Data = result
                });
            }
            return(new Respbase <InvioceStatisticsDto> {
                Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message
            });
        }
コード例 #7
0
        public Respbase <InvioceDetailDto> GetElectronicInvioceDetail(InvioceDetailReq req)
        {
            InvioceFacade facade = new InvioceFacade();
            var           result = facade.GetElectronicInvioceDetail(req);

            if (result != null)
            {
                return(new Respbase <InvioceDetailDto> {
                    Result = 1, Message = facade.PromptInfo.Message, Data = result
                });
            }
            return(new Respbase <InvioceDetailDto> {
                Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message
            });
        }