This commit is contained in:
Lemon
2025-04-16 09:16:18 +08:00
parent a0209c71d7
commit 91c08e4b0a
4 changed files with 14 additions and 3 deletions

View File

@@ -403,7 +403,7 @@ public class OrderController extends BaseController {
RestApiResponse<?> response = null;
try {
ChargeAlgorithmRecord record = chargeAlgorithmRecordService.queryRecordByOrderCode(orderCode);
response = new RestApiResponse<>(record);
response = new RestApiResponse<>(ImmutableMap.of("ChargeAlgorithmRecord", record));
} catch (Exception e) {
logger.error("查询电池充电报告 error, ", e);
response = new RestApiResponse<>(e);