Commit 00916af1 by 黄小葱

试驾车辆

1 parent 08688813
......@@ -26,6 +26,7 @@ public class WebConfig implements WebMvcConfigurer {
.excludePathPatterns("swagger-ui.html")
.excludePathPatterns("/actuator/**")
.excludePathPatterns("/api/**")
.excludePathPatterns("/vehicle/drivevehicle/syncVehicleInfo")
.excludePathPatterns("/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**");
}
......
......@@ -143,7 +143,7 @@ public class VehicleController {
FileIOUtil.download(inputStream, FileIOUtil.MimeType.EXCEL2007, fileName, response);
}
@PostMapping("/drivevehicle/syncVehicleInfo")
@PostMapping(value = "/drivevehicle/syncVehicleInfo", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
@SysLog("包活干同步车辆信息")
@ApiOperation(value = "包活干同步车辆信息")
public R syncVehicleInfoFromBhg(@RequestBody @Validated(ValidateGroups.Insert.class) SyncVehicleBo vehicleBo) {
......
......@@ -20,10 +20,10 @@ public class SyncVehicleBo {
// @NotNull(message = "sign不能为空", groups = {ValidateGroups.Update.class,ValidateGroups.Delete.class})
// private String sign;
// /**
// * e盾的工单编号
// */
// private Integer eDunWorkOrderNo;
/**
* e盾的工单编号
*/
private String eDunWorkOrderNo;
/**
* 推送节点时间 格式:yyyy-MM-dd mm:ss:dd
......
......@@ -8,7 +8,7 @@ import java.util.Date;
public class TrackInfoBo {
// private Integer id;
private Integer id;
private String deviceType;
......
......@@ -90,8 +90,7 @@
<select id="searchTrialDrive" resultType="cn.com.glsx.admin.modules.model.TrialDriveVehiclePageDTO">
select tv.id tempId, tv.vin, tv.model_name modelName, tv.config_desc configDesc,
tv.license_plate licensePlate,
ttds.area, ttds.province, ttds.city, ttds.shop_name shopName, ttds.shop_code shopCode, ttds.shop_level
shop_code,
ttds.area, ttds.province, ttds.city, ttds.shop_name shopName, ttds.shop_code shopCode, ttds.shop_level shopLevel,
group_concat(tvd.sn) sns, tvd.created_date installedTime
from t_vehicle tv
left join t_vehicle_device tvd on tv.id = tvd.vehicle_id and tvd.bind_status = 1 and tvd.del_flag = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!