diff --git a/src/com/sdry/web/controller/zc/FilesAndPicUploadController.java b/src/com/sdry/web/controller/zc/FilesAndPicUploadController.java index 24f5723c1cca643180dac0cc357288c278238b28..95bf017427b608fc7ea5e5d89bcd02dd6674a0e8 100644 --- a/src/com/sdry/web/controller/zc/FilesAndPicUploadController.java +++ b/src/com/sdry/web/controller/zc/FilesAndPicUploadController.java @@ -74,10 +74,10 @@ public class FilesAndPicUploadController { while((len = bis.read(b)) != -1) { bos.write(b, 0, len); } + bos.close(); is.close(); bis.close(); os.close(); - bos.close(); String DBpath; if (count == 1) { DBpath="//approval//"+NAME+filename; @@ -132,10 +132,10 @@ public class FilesAndPicUploadController { while((len = bis.read(b)) != -1) { bos.write(b, 0, len); } + bos.close(); is.close(); bis.close(); os.close(); - bos.close(); //在数据库存入的路径 String DBpath; if (count == 1) { diff --git a/src/com/sdry/web/controller/zc/android/AndroidApprovedByMeController.java b/src/com/sdry/web/controller/zc/android/AndroidApprovedByMeController.java index 401dd8cddf17e9fba4ed872f52b2fbe1ee25fc40..d5a52cf87cca2a50d7a382f5f3ccd91ef991aaa1 100644 --- a/src/com/sdry/web/controller/zc/android/AndroidApprovedByMeController.java +++ b/src/com/sdry/web/controller/zc/android/AndroidApprovedByMeController.java @@ -258,7 +258,7 @@ public class AndroidApprovedByMeController { Repayment repayment = service1.androidRepaymentDetails(remark01); Borrow borrow = service1.androidBorrowDetails(repayment.getBorrowbill()); borrow.setRemark01(remark01); - borrow.setRemark05(borrow.getRemark01()); + borrow.setRemark05(repayment.getBorrowbill()); borrow.setMoney(repayment.getMoney()); affact = service3.repaymentToFailed(borrow); }