|
|
@@ -601,6 +601,7 @@ public class OrderServiceImpl extends ServiceImpl<NotaryOrderMapper, NotaryOrder
|
|
|
if (orderId.startsWith("10")) {
|
|
|
BorrowerEntity entity = new BorrowerEntity();
|
|
|
entity.setId(id);
|
|
|
+ entity.setUpdateTime(LocalDateTime.now());
|
|
|
entity.setStatus("2");
|
|
|
borrowerService.updateById(entity);
|
|
|
entity = borrowerService.getById(id);
|
|
|
@@ -626,6 +627,7 @@ public class OrderServiceImpl extends ServiceImpl<NotaryOrderMapper, NotaryOrder
|
|
|
} else if (orderId.startsWith("11")) {
|
|
|
MortgageEntity entity = mortgageService.getById(id);
|
|
|
entity.setId(id);
|
|
|
+ entity.setUpdateTime(LocalDateTime.now());
|
|
|
entity.setStatus("2");
|
|
|
mortgageService.updateById(entity);
|
|
|
|
|
|
@@ -651,6 +653,7 @@ public class OrderServiceImpl extends ServiceImpl<NotaryOrderMapper, NotaryOrder
|
|
|
} else if (orderId.startsWith("12")) {
|
|
|
GuaranteeEntity entity = guaranteeService.getById(id);
|
|
|
entity.setId(id);
|
|
|
+ entity.setUpdateTime(LocalDateTime.now());
|
|
|
entity.setStatus("2");
|
|
|
guaranteeService.updateById(entity);
|
|
|
// 这里就更新主订单状态
|