对接问题修改。
This commit is contained in:
+27
-2
@@ -461,9 +461,31 @@ public class BusProcessModelHisServiceImpl extends ServiceImpl<BusProcessModelHi
|
|||||||
|
|
||||||
BusProcessModelHis bpmHis = this.baseMapper.selectById(fileId);
|
BusProcessModelHis bpmHis = this.baseMapper.selectById(fileId);
|
||||||
if (ObjectUtils.isNotEmpty(bpmHis)) {
|
if (ObjectUtils.isNotEmpty(bpmHis)) {
|
||||||
throw new JeroBootException("fileId已经存在,不能重复,请检查!");
|
resultSb.append(onlyOfficeEditorUrl);
|
||||||
}
|
resultSb.append("fileId=").append(fileId).append("&");
|
||||||
|
resultSb.append("pid=").append(bpmHis.getPId()).append("&");
|
||||||
|
resultSb.append("taskIds=").append(bpmHis.getTaskId()).append("&");
|
||||||
|
// resultSb.append("editType=").append("null").append("&");
|
||||||
|
resultSb.append("oldFileName=").append(bpmHis.getFileName()).append("&");
|
||||||
|
// resultSb.append("fileType=").append("docx").append("&");
|
||||||
|
resultSb.append("attId=").append(fileId).append("&");
|
||||||
|
resultSb.append("fileUrl=").append(bpmHis.getDownLoadUrl()).append("&");
|
||||||
|
// resultSb.append("key=").append("key").append("&");
|
||||||
|
resultSb.append("filePath=").append(bpmHis.getEditFilePath()).append("&");
|
||||||
|
resultSb.append("fileName=").append(bpmHis.getFileName()).append("&");
|
||||||
|
// resultSb.append("userId=").append("null").append("&");
|
||||||
|
resultSb.append("userName=").append(userName).append("&");
|
||||||
|
// resultSb.append("isEdit=").append("123").append("&");
|
||||||
|
resultSb.append("standCode=").append(serialNumber).append("&");
|
||||||
|
resultSb.append("standName=").append(standName).append("&");
|
||||||
|
resultSb.append("draftingDepartment=").append(estDepart).append("&");
|
||||||
|
resultSb.append("draftsman=").append(drafts).append("&");
|
||||||
|
// resultSb.append("assessor=").append("").append("&");
|
||||||
|
// resultSb.append("focalUnit=").append("").append("&");
|
||||||
|
resultSb.append("replaceStand=").append(replaceStand);
|
||||||
|
|
||||||
|
// throw new JeroBootException("fileId已经存在,不能重复,请检查!");
|
||||||
|
} else {
|
||||||
BusProcessModelHis modelHis = new BusProcessModelHis();
|
BusProcessModelHis modelHis = new BusProcessModelHis();
|
||||||
modelHis.setId(fileId);
|
modelHis.setId(fileId);
|
||||||
try {
|
try {
|
||||||
@@ -527,6 +549,9 @@ public class BusProcessModelHisServiceImpl extends ServiceImpl<BusProcessModelHi
|
|||||||
logger.error(e.getMessage());
|
logger.error(e.getMessage());
|
||||||
throw new JeroBootException("操作失败,请联系管理员!");
|
throw new JeroBootException("操作失败,请联系管理员!");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return resultSb.toString();
|
return resultSb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user