From 1a376098d2e27eeb9c2af90fa501311c2035d5ab Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期三, 27 八月 2025 14:30:41 +0800 Subject: [PATCH] :zap: 对于前端修改 采购和应付 --- main-business/src/main/java/com/ruoyi/business/service/impl/ProductionServiceImpl.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/service/impl/ProductionServiceImpl.java b/main-business/src/main/java/com/ruoyi/business/service/impl/ProductionServiceImpl.java index 732c3c8..f26d594 100644 --- a/main-business/src/main/java/com/ruoyi/business/service/impl/ProductionServiceImpl.java +++ b/main-business/src/main/java/com/ruoyi/business/service/impl/ProductionServiceImpl.java @@ -34,6 +34,9 @@ @Override public IPage<Production> selectProductionList(Page page, ProductionDto productionDto) { LambdaQueryWrapper<Production> queryWrapper = new LambdaQueryWrapper<>(); + if(productionDto != null && productionDto.getSearchAll() != null){ + queryWrapper.eq(Production::getStatus, productionDto.getSearchAll()); + } queryWrapper.orderByDesc(Production::getCreateTime); return productionMapper.selectPage(page, queryWrapper); } -- Gitblit v1.9.3