Przeglądaj źródła

BUG-FIX 修改时间为NUll

sakuya 3 lat temu
rodzic
commit
27446f397d

+ 3 - 0
eladmin-system/src/main/java/me/zhengjie/application/bank/service/impl/OrderServiceImpl.java

@@ -250,18 +250,21 @@ public class OrderServiceImpl extends ServiceImpl<NotaryOrderMapper, NotaryOrder
 		borrowerWrapper.eq("business_no", businessNo);
 		BorrowerEntity borrower = new BorrowerEntity();
 		borrower.setStatus(status);
+		borrower.setUpdateTime(LocalDateTime.now());
 		borrowerService.update(borrower, borrowerWrapper);
 
 		UpdateWrapper<MortgageEntity> mortgageWrapper = new UpdateWrapper<>();
 		mortgageWrapper.eq("business_no", businessNo);
 		MortgageEntity mortgage = new MortgageEntity();
 		mortgage.setStatus(status);
+		mortgage.setUpdateTime(LocalDateTime.now());
 		mortgageService.update(mortgage, mortgageWrapper);
 
 		UpdateWrapper<GuaranteeEntity> guaranteeWrapper = new UpdateWrapper<>();
 		guaranteeWrapper.eq("business_no", businessNo);
 		GuaranteeEntity guarantee = new GuaranteeEntity();
 		guarantee.setStatus(status);
+		guarantee.setUpdateTime(LocalDateTime.now());
 		guaranteeService.update(guarantee, guaranteeWrapper);
 
 		UpdateWrapper<NotaryOrderEntity> orderWrapper = new UpdateWrapper<>();