You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
930 B
Plaintext
40 lines
930 B
Plaintext
using System;
|
|
using System.Collections;
|
|
using System.Data;
|
|
using BP.DA;
|
|
using BP.En;
|
|
using BP.Web;
|
|
using BP.Sys;
|
|
|
|
namespace BP.Sys
|
|
{
|
|
/// <summary>
|
|
/// 业务单元基类
|
|
/// 1. 重写该类为业务单元子类.
|
|
/// 2. 每个业务单元子类可以在流程事件节点时间设置.
|
|
/// 3. 被继承的子类的必须在BP.*.DLL 里面,才能确保设置时候被映射到.
|
|
/// 4. 子类在DoIt方法中根据WorkID 的书写业务逻辑.
|
|
/// </summary>
|
|
abstract public class BuessUnitBase
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public Int64 WorkID = 0;
|
|
/// <summary>
|
|
/// 标题
|
|
/// </summary>
|
|
abstract public string Title
|
|
{
|
|
get;
|
|
}
|
|
/// <summary>
|
|
/// 执行的方法
|
|
/// </summary>
|
|
public virtual string DoIt()
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|