public Respbase SendEmail(SendEmailReq req) { InvioceFacade facade = new InvioceFacade(); facade.SendEmail(req); return(new Respbase { Result = facade.PromptInfo.Result, Message = facade.PromptInfo.Message }); }
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 })); }
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 })); }
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 }); }
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 }); }
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 }); }
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 }); }