SVN r923
SVN-Revision: r923
This commit is contained in:
@@ -883,6 +883,23 @@ namespace Lskj.Business.Impl
|
||||
and a.stepCode<{4}
|
||||
union all
|
||||
select 0,'退回至提交人') x order by stepcode desc", masterTable, parmaryKey, columnPrefix, paramaryValue, currStepCode, flowStepTable, flowTypeStepTable);
|
||||
if (SystemInfo.Instance.SpecialReverseStep)
|
||||
{
|
||||
sqlValue = string.Format(@"select * from (select distinct a.stepCode,c.stepName
|
||||
from {5} a
|
||||
inner join {0} b on a.flowsourcekey=b.{1}
|
||||
inner join {6} c on a.stepCode=c.stepCode and c.billType=b.{2}billtype
|
||||
where a.flowSourceKey='{3}'
|
||||
and isnull(a.autoStep,0)=0
|
||||
and ISNULL(a.operDirection,'F')='F'
|
||||
and a.stepCode<{4}
|
||||
and a.operAdvice<>'自动亩核'
|
||||
and a.operAdvice<>'不同意'
|
||||
union all
|
||||
select 0,'退回至提交人') x order by stepcode desc", masterTable, parmaryKey, columnPrefix, paramaryValue, currStepCode, flowStepTable, flowTypeStepTable);
|
||||
|
||||
}
|
||||
|
||||
return SqlHelper.ExecuteDataTable(sqlValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user