新火炬后端单体项目初始化代码
zhangherong
7 天以前 f45ac28c492886e2c55d915c83985db91ac4dfa5
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());