public NextFlowModel GetNextFlow1(int s)
{
NextFlowModel common = new NextFlowModel();
DataTable dt = new DataTable();
string sqlGroup = string.Empty;
//执行存储过程,或者相应的方法,返回值
for (int i = 0; i < 10; i++)
{
common.NextPer_ID = common.NextPer_ID + i;
}
if (common.NextPer_ID != "" && common.NextPer_ID != null) //条件成立退出
return common;
return GetNextFlow1(2);
//return common;
}
简单的递归运用
最新推荐文章于 2024-07-27 13:31:57 发布