Ejemplo n.º 1
0
 /// <summary>
 /// 修改审稿状态状态
 /// </summary>
 /// <param name="flowStatusEntity"></param>
 /// <returns></returns>
 public bool UpdateFlowStatusStatus(FlowStatusEntity flowStatusEntity)
 {
     return FlowSetBusProvider.UpdateFlowStatusStatus(flowStatusEntity);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 删除审稿流程状态及配置信息
 /// </summary>
 /// <param name="flowStatus">FlowStatusEntity实体对象</param>
 /// <returns>true:删除成功 false:删除失败</returns>
 public bool DeleteFlowStatus(FlowStatusEntity flowStatus)
 {
     return FlowSetBusProvider.DeleteFlowStatus(flowStatus);
 }
Ejemplo n.º 3
0
 public ActionResult EditStatusAjax(FlowStatusEntity flowStatusEntity)
 {
     ExecResult exeResult = new ExecResult();
     IFlowFacadeService service = ServiceContainer.Instance.Container.Resolve<IFlowFacadeService>();
     flowStatusEntity.JournalID = CurAuthor.JournalID;
     exeResult = service.UpdateFlowStatus(flowStatusEntity);
     return Content(JsonConvert.SerializeObject(exeResult));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 删除审稿环节
 /// </summary>
 /// <param name="flowSetEntity"></param>
 /// <returns></returns>
 public ExecResult DelFlowStatus(FlowStatusEntity flowStatusEntity)
 {
     HttpClientHelper clientHelper = new HttpClientHelper();
     ExecResult execResult = clientHelper.PostAuth<ExecResult, FlowStatusEntity>(GetAPIUrl(APIConstant.FLOW_DELFLOWSTATUS), flowStatusEntity);
     return execResult;
 }
Ejemplo n.º 5
0
 public ExecResult DelFlowStatus(FlowStatusEntity flowStatusEntity)
 {
     ExecResult result = new ExecResult();
     try
     {
         IFlowStatusService flowStatusService = ServiceContainer.Instance.Container.Resolve<IFlowStatusService>();
         bool flag = flowStatusService.DeleteFlowStatus(flowStatusEntity);
         if (flag)
         {
             result.result = EnumJsonResult.success.ToString();
             result.msg = "成功";
         }
         else
         {
             result.result = EnumJsonResult.failure.ToString();
             result.msg = "删除审稿状态失败,请确认信息是否正确";
         }
     }
     catch (Exception ex)
     {
         result.result = EnumJsonResult.error.ToString();
         result.msg = "删除审稿状态时出现异常:" + ex.Message;
     }
     return result;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// 删除审稿流程状态及配置信息
 /// </summary>
 /// <param name="flowStatus">FlowStatusEntity实体对象</param>
 /// <returns>true:删除成功 false:删除失败</returns>
 public bool DeleteFlowStatus(FlowStatusEntity flowStatus)
 {
     return FlowStatusDataAccess.Instance.DeleteFlowStatus(flowStatus);
 }
Ejemplo n.º 7
0
 /// <summary>
 /// 修改审稿状态状态
 /// </summary>
 /// <param name="flowStatusEntity"></param>
 /// <returns></returns>
 public bool UpdateFlowStatusStatus(FlowStatusEntity flowStatusEntity)
 {
     return FlowStatusDataAccess.Instance.UpdateFlowStatusStatus(flowStatusEntity);
 }