try catch 处理
This commit is contained in:
parent
6a03253d26
commit
330dad2bcb
@ -205,8 +205,12 @@ public class InspectionInfoServiceImpl extends ServiceImpl<InspectionInfoMapper,
|
|||||||
CustomerMain customerMain = new CustomerMain();
|
CustomerMain customerMain = new CustomerMain();
|
||||||
customerMain.setDataFrom("01");
|
customerMain.setDataFrom("01");
|
||||||
customerMainService.saveOrUpdate(customerMain);
|
customerMainService.saveOrUpdate(customerMain);
|
||||||
|
try {
|
||||||
customerInfoService.insertPartnerCustomerInfo(customerInfo);
|
customerInfoService.insertPartnerCustomerInfo(customerInfo);
|
||||||
|
}catch (Exception ignored){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
//追加订单明细记录
|
//追加订单明细记录
|
||||||
orderInfoDetailService.save(new OrderInfoDetail(orderInfo.getId(),"线下订单创建",new Date(),0L,"1"));
|
orderInfoDetailService.save(new OrderInfoDetail(orderInfo.getId(),"线下订单创建",new Date(),0L,"1"));
|
||||||
|
@ -590,7 +590,7 @@ public class RescueDriverInfoServiceImpl extends ServiceImpl<RescueDriverInfoMap
|
|||||||
//处理redis
|
//处理redis
|
||||||
DriverInfo driverInfo = driverInfoService.getById(rescueInfo.getDriverId());
|
DriverInfo driverInfo = driverInfoService.getById(rescueInfo.getDriverId());
|
||||||
AdminUserRespDTO user = userService.getUser(driverInfo.getUserId());
|
AdminUserRespDTO user = userService.getUser(driverInfo.getUserId());
|
||||||
|
try{
|
||||||
// 收集客户信息
|
// 收集客户信息
|
||||||
PartnerCustomerInfo customerInfo = new PartnerCustomerInfo();
|
PartnerCustomerInfo customerInfo = new PartnerCustomerInfo();
|
||||||
customerInfo.setCustomerName(rescueInfo.getConnectionName());
|
customerInfo.setCustomerName(rescueInfo.getConnectionName());
|
||||||
@ -615,6 +615,10 @@ public class RescueDriverInfoServiceImpl extends ServiceImpl<RescueDriverInfoMap
|
|||||||
|
|
||||||
// 调用插入客户信息的方法
|
// 调用插入客户信息的方法
|
||||||
customerInfoService.insertPartnerCustomerInfo(customerInfo);
|
customerInfoService.insertPartnerCustomerInfo(customerInfo);
|
||||||
|
}catch (Exception ignored){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//所在顶级机构
|
//所在顶级机构
|
||||||
|
Loading…
Reference in New Issue
Block a user