31 lines
1019 B
C#
31 lines
1019 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using SuperMap.RealEstate.Utility;
|
||
using Running = SuperMap.RealEstate.Seller.Running;
|
||
using SuperMap.RealEstate.WorkFlow.Instance.Business;
|
||
|
||
namespace SuperMap.RealEstate.Seller.Plugins
|
||
{
|
||
public class ProInstHelper
|
||
{
|
||
/// <summary>
|
||
/// 获取当前流程信息
|
||
/// </summary>
|
||
/// <param name="WorkFlowProInst"></param>
|
||
/// <returns></returns>
|
||
public static Running.Business.SELLERPROINST GetPropertyProinst(ProInst WorkFlowProInst)
|
||
{
|
||
Running.Business.SELLERPROINST _HighWayProinst = new Running.Business.SELLERPROINST(WorkFlowProInst.Transaction);
|
||
_HighWayProinst.AddSearchParameter("proinst_id", WorkFlowProInst.ProInst_ID);
|
||
if (_HighWayProinst.Search())
|
||
{
|
||
return _HighWayProinst;
|
||
}
|
||
|
||
throw new Exception("无法获取ProInst实例对象!");
|
||
}
|
||
}
|
||
}
|