diff --git a/backend/app/api/v1/endpoints/materials.py b/backend/app/api/v1/endpoints/materials.py index 66b7b32..2c62731 100644 --- a/backend/app/api/v1/endpoints/materials.py +++ b/backend/app/api/v1/endpoints/materials.py @@ -6,8 +6,8 @@ from sqlalchemy import text router = APIRouter(prefix="/materials", tags=["物料选择"]) -# 只展示成品 / 半成品(category 字段区分,如 IRIS/成品/… / IRIS/半成品/…) -TYPE_FILTER = "category ILIKE '%成品%' OR category ILIKE '%半成品%'" +# 全量展示全部物料类别 +TYPE_FILTER = "1=1" # ============================================================