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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
namespace OpenAuth.App.Interface
{
/// <summary>
/// 开发者自定义表单的统一接口
/// <para>例如: FrmLeaveReqApp为请假表单对应的应用层, 实现该接口, 可以自动向数据库中插入对应的记录</para>
/// </summary>
public interface ICustomerForm
{
/// <summary>
/// 该接口定义自定义表单模式时需实现向数据库写入表单数据
/// </summary>
/// <param name="flowInstanceId">表单对应的流程实例ID</param>
/// <param name="frmData">表单数据</param>
void Add ( string flowInstanceId , string frmData ) ;
/// <summary>
/// 该接口定义流程自定义表单模式时需实现向数据库更新表单数据
/// </summary>
/// <param name="flowInstanceId">更新的时候前端没有存储Id, 需要用流程实例ID来关联, 如果前端设计了Id字段, 则可以不用</param>
/// <param name="frmData">表单数据</param>
void Update ( string flowInstanceId , string frmData ) ;
}
}