SVN-Revision: r923
This commit is contained in:
cyf
2025-08-07 09:20:25 +00:00
parent 25e9863964
commit f7a53010be
9 changed files with 376 additions and 34 deletions
@@ -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);
}