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