diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/controller/OupaiFactoryDataController.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/controller/OupaiFactoryDataController.java index 80c5cf54a..c8d67b9bd 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/controller/OupaiFactoryDataController.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/controller/OupaiFactoryDataController.java @@ -1,5 +1,6 @@ package com.logpm.factory.oupai.controller; +import com.logpm.factory.oupai.vo.OuPaiDataPushVO; import io.swagger.annotations.Api; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -18,9 +19,11 @@ import org.springframework.web.bind.annotation.RestController; @Api(value = "欧派工厂数据", tags = "欧派工厂数据") public class OupaiFactoryDataController { + + @GetMapping("/acceptOupaiFactoryData") - public R acceptOupaiFactoryData(String json){ - log.info("acceptOupaiFactoryData 参数 json {}",json); + public R acceptOupaiFactoryData(OuPaiDataPushVO ouPaiDataPushVO){ +// log.info("acceptOupaiFactoryData 参数 json {}",json); diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/vo/OuPaiDataPushVO.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/vo/OuPaiDataPushVO.java new file mode 100644 index 000000000..2332706eb --- /dev/null +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/vo/OuPaiDataPushVO.java @@ -0,0 +1,13 @@ +package com.logpm.factory.oupai.vo; + +import lombok.Data; + +@Data +public class OuPaiDataPushVO { + + /** + * 发车单号 + */ + private String carNum; + +}