|
@ -305,15 +305,7 @@ public class CarInfoServiceImpl implements ICarInfoService { |
|
|
|
|
|
|
|
|
@UpdateLog(title = "车辆信息",mapperClass = CarInfoMapper.class) |
|
|
@UpdateLog(title = "车辆信息",mapperClass = CarInfoMapper.class) |
|
|
public boolean updateR(CarInfo bo) { |
|
|
public boolean updateR(CarInfo bo) { |
|
|
|
|
|
|
|
|
esMapper.deleteById(bo.getId()); |
|
|
|
|
|
BeanUtils.beanAttributeValueTrim(bo); |
|
|
|
|
|
String uniqueKey = BeanUtils.getUniqueKey(bo); |
|
|
|
|
|
String md5Id = HelperUtil.generateMD5(uniqueKey); |
|
|
|
|
|
bo.setId(md5Id); |
|
|
|
|
|
esMapper.insert(bo); |
|
|
|
|
|
plateNumberService.updateHolder(bo.getCaseId()); |
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
|
return updateByBo(bo); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private CarInfoServiceImpl getServiceImpl() { |
|
|
private CarInfoServiceImpl getServiceImpl() { |
|
|