相关/支持文件渲染数据bug修复
This commit is contained in:
parent
0f054fb3cd
commit
02623c7ca3
Binary file not shown.
@ -2992,7 +2992,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONObject jb = new JSONObject();
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(i).getString("RELATIONFILEID"));
|
||||
if(pModel!=null){
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ id+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
@ -3243,7 +3243,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONObject jb = new JSONObject();
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(b).getString("RELATIONFILEID"));
|
||||
if(pModel!=null){
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ changeBo.getString("CHANGEDFILENAMENEW")+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
@ -3514,8 +3514,6 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
obj.put("stopFileName", stopBo.getString("STOPFILENAME"));
|
||||
obj.put("stopFileId", stopBo.getString("STOPFILEID"));
|
||||
|
||||
|
||||
|
||||
//相关/支持文件数据
|
||||
JSONArray jsonArray1=new JSONArray();
|
||||
List<RowMap> relatedRowMap=DBSql.getMaps("SELECT RELATIONFILEID FROM APP_ACT_COE_PAL_SHAPE_RLAT where FILEID='"+ stopBo.getString("STOPFILEID")+"' and ATTRID='related_support_files'");
|
||||
@ -3524,7 +3522,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONObject jb = new JSONObject();
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(b).getString("RELATIONFILEID "));
|
||||
if(pModel!=null){
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ stopBo.getString("STOPFILEID")+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user