public ActionResult GetDraftModel(Int64 CID) { IAuthorPlatformFacadeService service = ServiceContainer.Instance.Container.Resolve<IAuthorPlatformFacadeService>(); RetractionsBillsQuery query = new RetractionsBillsQuery(); query.JournalID = CurAuthor.JournalID; query.CID = CID; var model = service.GetRetractionsBillsModel(query); return Json(new { result = model != null ? EnumJsonResult.success.ToString() : EnumJsonResult.failure.ToString(), model = model }); }
/// <summary> /// 获取撤稿信息 /// </summary> /// <param name="pKID"></param> /// <returns></returns> public RetractionsBillsEntity GetRetractionsBills(RetractionsBillsQuery rQuery) { return ContributionInfoDataAccess.Instance.GetRetractionsBills(rQuery); }
/// <summary> /// 查看撤稿申请 /// </summary> /// <param name="CID"></param> /// <returns></returns> public ActionResult ViewRetraction(long CID) { IAuthorPlatformFacadeService service = ServiceContainer.Instance.Container.Resolve<IAuthorPlatformFacadeService>(); RetractionsBillsQuery rQuery = new RetractionsBillsQuery(); rQuery.CID = CID; rQuery.JournalID = JournalID; RetractionsBillsEntity rEntity = service.GetRetractionsBillsModel(rQuery); if (rEntity == null) { rEntity = new RetractionsBillsEntity(); } return View(rEntity); }
/// <summary> /// 获取撤稿信息实体 /// </summary> /// <param name="query"></param> /// <returns></returns> public RetractionsBillsEntity GetRetractionsBillsModel(RetractionsBillsQuery query) { HttpClientHelper clientHelper = new HttpClientHelper(); RetractionsBillsEntity model = clientHelper.Post<RetractionsBillsEntity, RetractionsBillsQuery>(GetAPIUrl(APIConstant.DRAFT_GETMODEL), query); if (model != null) { if (model.Handler > 0) { model.HandlerName = GetMemberName(model.Handler); } } return model; }
public RetractionsBillsEntity GetRetractionsBillsModel(RetractionsBillsQuery query) { IContributionInfoService service = ServiceContainer.Instance.Container.Resolve<IContributionInfoService>(); RetractionsBillsEntity model = service.GetRetractionsBills(query); return model; }
/// <summary> /// 获取撤稿信息 /// </summary> /// <param name="pKID"></param> /// <returns></returns> public RetractionsBillsEntity GetRetractionsBills(RetractionsBillsQuery rQuery) { return ContributionInfoBusProvider.GetRetractionsBills(rQuery); }