新火炬后端单体项目初始化代码
zhangherong
17 小时以前 399e7d565f19f59a8da82277da8f3eab527c2c56
src/main/java/org/jeecg/modules/lsw/controller/LswMaterialInventoryController.java
@@ -13,6 +13,7 @@
import org.jeecg.modules.lsw.enums.MaterialInventoryStatusEnum;
import org.jeecg.modules.lsw.service.ILswMaterialInventoryService;
import org.jeecg.modules.lsw.vo.MaterialInventoryStatisticsVO;
import org.jeecg.modules.lsw.vo.MaterialInventoryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -71,4 +72,11 @@
        }
        return Result.OK(sb.toString());
    }
    @ApiOperation(value = "物料库存信息-根据产线查询库存", notes = "物料库存信息-根据产线查询库存")
    @GetMapping(value = "/queryMaterialInventory")
    public Result<List<MaterialInventoryVO>> queryMaterialInventory(@RequestParam(name = "factoryId") String factoryId) {
        List<MaterialInventoryVO> list = lswMaterialInventoryService.queryMaterialInventory(factoryId);
        return Result.OK(list);
    }
}