|
@@ -507,7 +507,7 @@ class GetStaffConfigurationHistory(Resource):
|
|
|
|
|
|
for update_time in update_time_res:
|
|
|
stmt = select(StaffConfigurationStaff).where(StaffConfigurationStaff.update_time == update_time[0])
|
|
|
- results.append({update_time[0]: to_dict(session.execute(stmt).scalars().all())})
|
|
|
+ results.append({'date': update_time[0], 'data': to_dict(session.execute(stmt).scalars().all())})
|
|
|
|
|
|
save_log(request, Module.INFORMATION, OperationType.INQUIRE, StatesCode.SUCCESS)
|
|
|
|