123
This commit is contained in:
@@ -216,9 +216,9 @@ public class BorrowServiceImpl extends ServiceImpl<BorrowMapper, Borrow> impleme
|
|||||||
if(one == null){
|
if(one == null){
|
||||||
throw new CustomException(MessageUtils.message("dk.withdraw.fail"));
|
throw new CustomException(MessageUtils.message("dk.withdraw.fail"));
|
||||||
}
|
}
|
||||||
if(!MessageUtils.message("dk.audit.success").equals(one.getBorrowName())){
|
/*if(!MessageUtils.message("dk.audit.success").equals(one.getBorrowName())){
|
||||||
throw new CustomException(one.getBorrowName());
|
throw new CustomException(one.getBorrowName());
|
||||||
}
|
}*/
|
||||||
boolean result = customerService.withdraw(customerId,withdrawAmount);
|
boolean result = customerService.withdraw(customerId,withdrawAmount);
|
||||||
Borrow update = new Borrow();
|
Borrow update = new Borrow();
|
||||||
update.setId(one.getId());
|
update.setId(one.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user