Commit ca00433a by yangll

修改试驾路线关联用户报错的问题

1 parent 05df0807
......@@ -204,6 +204,10 @@ public class VehicleController {
@ApiOperation(value = "车辆设备关联列表查询")
@GetMapping("/linksns/search")
public R search(VehicleSearch search) {
String shopId = search.getShopId();
if (StringUtils.isNotEmpty(shopId)) {
search.setShopId(shopId.replaceAll("u", ""));
}
PageInfo<VehicleLinkSnsDTO> pageInfo = vehicleService.linkSnsSearch(search);
return R.ok().putPageData(pageInfo);
}
......
......@@ -6,7 +6,7 @@ import lombok.Data;
@Data
public class VehicleSearch extends Page {
private Long shopId;
private String shopId;
private Integer termType;
private String term;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!