GetAllBlocks Remove and use GetAllBlock in store procedure
This commit is contained in:
@@ -373,7 +373,7 @@ class ReportHelper:
|
||||
)
|
||||
gst_release_map.setdefault(key, []).append(gr)
|
||||
|
||||
print("GST MAP:", gst_release_map)
|
||||
# print("GST MAP:", gst_release_map)
|
||||
# Generate Excel
|
||||
# ReportHelper.generate_excel(
|
||||
# contractor_id, contInfo, invoices, hold_types, hold_data,
|
||||
|
||||
@@ -164,7 +164,7 @@ class Village:
|
||||
|
||||
try:
|
||||
with connection.cursor() as cursor:
|
||||
cursor.callproc('GetAllBlocks')
|
||||
cursor.callproc('GetAllBlock')
|
||||
|
||||
for result in cursor.stored_results():
|
||||
blocks.extend(result.fetchall())
|
||||
|
||||
Reference in New Issue
Block a user