新火炬后端单体项目初始化代码
zhangherong
6 天以前 39ea8ce927e5c5cf891f2ec976ff68576096c53b
src/main/java/org/jeecg/modules/base/controller/FactoryController.java
@@ -222,9 +222,9 @@
    }
    @ApiOperation(value = "获取所有产线列表", notes = "获取所有产线列表")
    @GetMapping(value = "/queryProductionLineList")
    public Result<List<FactoryModel>> queryProductionLineList() {
       List<Factory> factoryList = factoryService.queryProductionLineList();
    @GetMapping(value = "/queryUserProductionLineList")
    public Result<List<FactoryModel>> queryUserProductionLineList() {
       List<Factory> factoryList = factoryService.queryUserProductionLineList();
       List<FactoryModel> factoryModels = factoryList.stream()
             .map(factory -> new FactoryModel(factory.getId(), factory.getFactoryName()))
             .collect(Collectors.toList());