上下游流程关联sql查询优化

This commit is contained in:
zhaol 2024-11-13 14:24:57 +08:00
parent a2c3f4bbd6
commit 4de2da1eac
2 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ public class Report1Gener {
" JOIN (" +
" SELECT RELATIONFILEID FROM APP_ACT_COE_PAL_SHAPE_RLAT" +
" WHERE FILEID = ? AND ATTRID = ? ORDER BY SHAPETEXT" +
" ) S ON R.PLVERSIONID = S.RELATIONFILEID";
" ) S ON R.ID = S.RELATIONFILEID";
if(palRepositoryPropertyModel.getPropertyId().equals("lead_process")){//上游流程
List<RowMap> maps = DBSql.getMaps(querySQL, new Object[]{repositoryModel.getId(), "lead_process"});
if(!maps.isEmpty()){