fix: add missing import and correct SQL query for service list
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
@ -137,7 +137,7 @@ class ServiceService:
|
||||
query = query.filter(
|
||||
db.or_(
|
||||
StockService.sku.ilike(f'%{keyword}%'),
|
||||
StockService.base_id.in_([row.id for row in db.session.query(subquery.c.id)])
|
||||
StockService.base_id.in_(db.session.query(subquery.c.id))
|
||||
)
|
||||
)
|
||||
if start_date:
|
||||
|
||||
@ -451,7 +451,8 @@ import {
|
||||
createSemiInbound,
|
||||
updateSemiInbound,
|
||||
deleteSemiInbound,
|
||||
searchMaterialBase
|
||||
searchMaterialBase,
|
||||
getFilterOptions
|
||||
} from '@/api/inbound/semi'
|
||||
import { uploadFile, deleteFile } from '@/api/inbound/buy'
|
||||
import WebRtcCamera from '@/components/Camera/WebRtcCamera.vue'
|
||||
|
||||
Reference in New Issue
Block a user