新火炬后端单体项目初始化代码
Houjie
2 天以前 67ac603f410319a0d999e5f493c8ef2d74163fe1
src/main/java/org/jeecg/modules/mes/controller/MesProductionOrderController.java
@@ -111,4 +111,14 @@
        }).collect(Collectors.toList());
        return Result.OK(res);
    }
    @ApiOperation(value = "SAP生产订单-根据订单号同步最新信息", notes = "SAP生产订单-根据订单号同步最新信息")
    @GetMapping(value = "/syncSapProductionOrder")
    public Result<?> syncSapProductionOrder(@RequestParam(name = "id") String id) {
        boolean b = mesProductionOrderService.syncSapProductionOrder(id);
        if (!b) {
            return Result.error("同步失败!");
        }
        return Result.ok("同步成功!");
    }
}