Commit 405b18ca by 王欣伟

提交车辆标准接口服务

1 parent b3478799
package cn.com.glsx.stdinterface.api;
import cn.com.glsx.stdinterface.dto.*;
import cn.com.glsx.stdinterface.factory.StatisticsInStoreFallbackFactory;
import com.glsx.plat.core.web.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
@FeignClient(name = "ne-shield-standard-interfaces", path = "/nesi/vehicle", fallbackFactory = StatisticsInStoreFallbackFactory.class, decode404 = true)
public interface VehicleServiceClient {
/**
* 安装工单
*
* @param workOrderBO
* @return
*/
@PostMapping(value = "/create")
public R<VehicleDto> getVehicleBySn(@RequestBody String sn);
}
package cn.com.glsx.stdinterface.dto;
import lombok.Data;
import java.util.Date;
@Data
public class VehicleDto {
/**
* 主键ID
*/
private Long id;
/**
* 车架号
*/
private String vin;
/**
* 创建人
*/
private Long createBy;
/**
* 创建时间
*/
private String createDate;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!