hdy
2024-12-28 9e2f3b91a51c181cb4a0d247419c58daa3937b7b
billion-main/src/main/java/com/billion/main/api/RestfulAPI.java
@@ -14,11 +14,15 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
@RestController
//@Component
@RequestMapping("/dmMes")
public class RestfulAPI {
    @Autowired
@@ -83,9 +87,11 @@
            //出参
            OutPutParametersChild child = new OutPutParametersChild(workOrdersInfo.getMaterialNumber(), "S", "采集完成");
            outputParams.addData(child);
            outputParams.toJson();
        } else {
            OutPutParametersChild child = new OutPutParametersChild(workOrdersInfo.getMaterialNumber(), "F", "采集失败");
            outputParams.addData(child);
            outputParams.toJson();
        }
        return outputParams;