增加接口

This commit is contained in:
shuo.wang
2025-04-11 18:47:12 +08:00
parent 49862f9e62
commit cc996d8db6
7 changed files with 57 additions and 6 deletions

View File

@@ -12,5 +12,5 @@ import java.util.List;
*/
public interface WarehouseInfoService {
List<WarehouseInfoDO> getAllAndActive();
List<WarehouseInfoDO> getAllAndActive(String keyword);
}

View File

@@ -21,7 +21,7 @@ public class WarehouseInfoServiceImpl implements WarehouseInfoService {
@Resource
private WarehouseInfoMapper warehouseInfoMapper;
@Override
public List<WarehouseInfoDO> getAllAndActive() {
return warehouseInfoMapper.getAllAndActive();
public List<WarehouseInfoDO> getAllAndActive(String keyword) {
return warehouseInfoMapper.getAllAndActive(keyword);
}
}