Browse Source

附件bug修复

lijie 2 years ago
parent
commit
b7583f081c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mhotel/src/com/happy/action/hotelAction.java

+ 1 - 1
mhotel/src/com/happy/action/hotelAction.java

@@ -166,7 +166,7 @@ public class hotelAction extends ActionSupport implements ServletRequestAware {
                         //将新修改的附件关联到流程id
                         for(FileInfo file : fileList){
                             file.setLinkId(id);
-                            fileService.insertFile(file);
+                            fileService.updateFile(file);
                         }
                         hotel.setRemark(hotel1.getRemark());
                         resultJson.put("message", "已成功提交审批!");