修复空运报价单回填编译:Fastjson 不能直接吃 String Map。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 15:30:46 +08:00
co-authored by Cursor
parent 6e2ab2ebe8
commit c83c826223
@@ -908,7 +908,8 @@ public class InquiryQuoteTemplateServiceImpl extends ServiceImpl<InquiryQuoteTem
InquiryTmsQueryService.enrichAirWeightFeeLines(lineMaps, enrichCtx);
JSONArray enriched = new JSONArray();
for (Map<String, String> m : lineMaps) {
enriched.add(new JSONObject(m));
// Fastjson 只要 Map<String,Object>,不能直接塞 Map<String,String>。
enriched.add(JSON.parseObject(JSON.toJSONString(m)));
}
rows = enriched;
}