修复空运报价单回填编译:Fastjson 不能直接吃 String Map。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user