解决部门视图重复问题
This commit is contained in:
parent
44fe4e5146
commit
f6703d2d2c
@ -83,7 +83,4 @@ public class AesUtil {
|
||||
System.out.println("解密后:" + AesUtil.decrypt(URLDecoder.decode(message), key));*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -47,8 +47,8 @@ public class SynFileStateJob implements IJob {
|
||||
JSONObject PUBDEPTJO = JSONObject.parseObject(String.valueOf(PUBDEPTO));
|
||||
String dempId = PUBDEPTJO.getString("id");
|
||||
count2 += DBSql.update("UPDATE APP_ACT_COE_PAL_REPOSITORY SET EXT6 = '"+dempId+"' WHERE ID = '"+id+"'");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1665,12 +1665,15 @@ public class DataViewService extends ActionWeb {
|
||||
List<RowMap> maps = null;
|
||||
if (json.size() < 450) {
|
||||
String sqltt = "SELECT ID AS FILEID,PLNAME,PLPARENTID,PLMETHODID,PLLEVEL,PLVERSIONID,PLORDERINDEX,EXT3 as POLICYTYPE FROM APP_ACT_COE_PAL_REPOSITORY WHERE ISPUBLISH = 1 AND EXT5 = '1' AND EXT6 IN ("
|
||||
+sqlParm+ ") OR EXT6 LIKE '%"+sqlParm+"%' AND PLMETHODID in ('process.epc','control.policy','process.flowchart')";
|
||||
+sqlParm+ ") AND PLMETHODID in ('process.epc','control.policy','process.flowchart')";
|
||||
SDK.getLogAPI().consoleInfo("sql11111111111111>>>>>>>>>>>>>>"+sqltt);
|
||||
maps = DBSql.getMaps(sqltt);
|
||||
} else {
|
||||
String sqltt = "SELECT ID AS FILEID,PLNAME,PLPARENTID,PLMETHODID,PLLEVEL,PLVERSIONID,PLORDERINDEX,EXT3 as POLICYTYPE FROM APP_ACT_COE_PAL_REPOSITORY WHERE ISPUBLISH = 1 AND ISSTOP =0 AND EXT5 = '1' AND EXT6 IS NOT NULL AND PLMETHODID in ('process.epc','control.policy','process.flowchart')";
|
||||
SDK.getLogAPI().consoleInfo("sql>>>>>>>>>>>>>>"+sqltt);
|
||||
maps = DBSql.getMaps(sqltt);
|
||||
}
|
||||
SDK.getLogAPI().consoleInfo("");
|
||||
for (RowMap rowMap : maps) {
|
||||
String id = rowMap.getString("FILEID");
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(id);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user