2025-03-28 09:49:56 +08:00

28 lines
933 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SuperMap.RealEstate.MemberShip.Plugins
{
public class ProinstHelper
{
/// <summary>
/// 获取当前流程信息
/// </summary>
/// <param name="WorkFlowProInst"></param>
/// <returns></returns>
public static Running.Business.MEMBERPROINST GetPropertyProinst(SuperMap.RealEstate.WorkFlow.Instance.Business.ProInst WorkFlowProInst)
{
Running.Business.MEMBERPROINST _HighWayProinst = new Running.Business.MEMBERPROINST(WorkFlowProInst.Transaction);
_HighWayProinst.AddSearchParameter("proinst_id", WorkFlowProInst.ProInst_ID);
if (_HighWayProinst.Search())
return _HighWayProinst;
else
{
throw new Exception("无法获取ProInst实例对象");
}
}
}
}