提交
This commit is contained in:
1 parent
276299ff27
commit
c6c3a37fa7
241 files changed
+17841
-15059
No files matched your search
@@ -75,7 +75,7 @@ async def list_materials(
|
||||
tenant_no = _get_tenant_no(db, user)
|
||||
items, total = mat_svc.list_materials(
|
||||
db, tenant_no, page=page, page_size=pageSize,
|
||||
keyword=keyword, category=category, status=status,
|
||||
keyword=keyword, category=category, status=status, user_info=user,
|
||||
)
|
||||
return success_response(_page_payload(items, total, page, pageSize))
|
||||
except PermissionError as e:
|
||||
@@ -217,7 +217,7 @@ async def list_stock_logs(
|
||||
items, total = msl_svc.list_stock_logs(
|
||||
db, tenant_no, page=page, page_size=pageSize,
|
||||
material_id=materialId, change_type=changeType,
|
||||
start_time=startTime, end_time=endTime, keyword=keyword,
|
||||
start_time=startTime, end_time=endTime, keyword=keyword, user_info=user,
|
||||
)
|
||||
return success_response(_page_payload(items, total, page, pageSize))
|
||||
except PermissionError as e:
|
||||
|
||||
Reference in new issue
Block a user