コード例 #1
0
 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 });
 }
コード例 #2
0
 /// <summary>
 /// 获取撤稿信息
 /// </summary>
 /// <param name="pKID"></param>
 /// <returns></returns>
 public RetractionsBillsEntity GetRetractionsBills(RetractionsBillsQuery rQuery)
 {
     return ContributionInfoDataAccess.Instance.GetRetractionsBills(rQuery);
 }
コード例 #3
0
 /// <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);
 }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
 public RetractionsBillsEntity GetRetractionsBillsModel(RetractionsBillsQuery query)
 {
     IContributionInfoService service = ServiceContainer.Instance.Container.Resolve<IContributionInfoService>();
     RetractionsBillsEntity model = service.GetRetractionsBills(query);
     return model;
 }
コード例 #6
0
 /// <summary>
 /// 获取撤稿信息
 /// </summary>
 /// <param name="pKID"></param>
 /// <returns></returns>
 public RetractionsBillsEntity GetRetractionsBills(RetractionsBillsQuery rQuery)
 {
     return ContributionInfoBusProvider.GetRetractionsBills(rQuery);
 }