Commit 02d1fb09 by zhangxw

Merge branch 'v1.5.0' of http://192.168.3.233:8090/usedCarAuction/aus into v1.5.0

2 parents 6ef6d3c0 02ae53ee
......@@ -309,6 +309,14 @@ public class VehicleController {
ExcelExporter.exportExcel(response, "车辆列表(含发拍信息)", "车辆列表", VehicleBean.class, vehicleBeans);
}
@PostMapping("exportCheckedVehiclesWithVr")
public void exportCheckedVehiclesWithVr(@RequestBody List<Integer> vehicleIds, HttpServletResponse response) throws IOException {
List<Vehicle> vehicles = vehicleService.getVehiclesByIds(vehicleIds);
List<VehicleBeanWithVr> vehicleBeans = vehicles.stream().map(VehicleBeanWithVr::new).toList();
ExcelExporter.exportExcel(response, "车辆列表", "车辆列表", VehicleBean.class, vehicleBeans);
}
/**
* 系统自动加价
*
......
......@@ -388,7 +388,7 @@ public class VrAuditService {
try {
VrUser vrUser = vrUserRepository.findById(entity.getVrUserId()).orElse(null);
String publisherName = vrUser != null ? vrUser.getUserName() : StrUtil.EMPTY;
String brandName = StrUtil.blankToDefault(entity.getCarBrandName(), StrUtil.EMPTY) + " " + StrUtil.blankToDefault(entity.getCarChildsBrandName(), StrUtil.EMPTY);
String brandName = StrUtil.blankToDefault(entity.getCarBrandName(), StrUtil.EMPTY);
LocalDateTime submitTime = entity.getSubmitTime() != null ? entity.getSubmitTime() : LocalDateTime.now();
webHookHandler.sendNoticeMessage(
WebhooksBusinessType.VR_PUBLISH,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!