Пример #1
0
 /// <summary>
 /// 新增审批流程步骤数据
 /// </summary>
 /// <param name="data">流程步骤数据集</param>
 /// <param name="listCondition">步骤执行条件数据集</param>
 /// <param name="nOpStaffId">操作员工编码</param>
 /// <param name="strOpStaffName">操作员工姓名</param>
 /// <param name="strErrText">出错信息</param>
 /// <returns></returns>
 public long InsertApproveFlowStep(ApproveFlowStep data, List<ApproveFlowStepCondition> listCondition, long nOpStaffId, string strOpStaffName, out string strErrText)
 {
     FlowRule rule = new FlowRule();
     return rule.InsertApproveFlowStep(data, listCondition, nOpStaffId, strOpStaffName, out strErrText);
 }
Пример #2
0
 /// <summary>
 /// 上移指定流程步骤数据
 /// </summary>
 /// <param name="nId">步骤编码</param>
 /// <param name="nOpStaffId">操作员工编码</param>
 /// <param name="strOpStaffName">操作员工姓名</param>
 /// <param name="strErrText">出错信息</param>
 /// <returns></returns>
 public bool MoveUpApproveStep(long nId, long nOpStaffId, string strOpStaffName, out string strErrText)
 {
     FlowRule rule = new FlowRule();
     return rule.MoveUpApproveStep(nId, nOpStaffId, strOpStaffName, out strErrText);
 }
Пример #3
0
 /// <summary>
 /// 删除指定流程步骤数据
 /// </summary>
 /// <param name="nId">步骤编码</param>
 /// <param name="nOpStaffId">操作员工编码</param>
 /// <param name="strOpStaffName">操作员工姓名</param>
 /// <param name="strErrText">出错信息</param>
 /// <returns></returns>
 public bool DeleteApproveFlowStep(long nId, long nOpStaffId, string strOpStaffName, out string strErrText)
 {
     FlowRule rule = new FlowRule();
     return rule.DeleteApproveFlowStep(nId, nOpStaffId, strOpStaffName, out strErrText);
 }
Пример #4
0
 /// <summary>
 /// 根据流程类别读取指定审批流程的步骤数据
 /// </summary>
 /// <param name="strFlowType">流程类别</param>
 /// <param name="nOpStaffId">操作员工编码</param>
 /// <param name="strOpStaffName">操作员工姓名</param>
 /// <param name="strErrText">出错信息</param>
 /// <returns></returns>
 public List<ApproveFlowStep> LoadApproveFlowStepsByFlowType(string strFlowType, long nOpStaffId, string strOpStaffName, out string strErrText)
 {
     FlowRule rule = new FlowRule();
     return rule.LoadApproveFlowStepsByFlowType(strFlowType, nOpStaffId, strOpStaffName, out strErrText);
 }