Commit fa5d22b9 authored by R10's avatar R10

智写-立案申请-不替换旧数据

parent d0b077fc
......@@ -206,12 +206,6 @@ public class BizAiLegislativeDocumentWritingServiceImpl extends BaseServiceImpl
if (CollectionUtils.isNotEmpty(bizAiLegislativeDocumentWritingEntities)) {
BizAiLegislativeDocumentWritingEntity aiLegislativeDocumentWritingEntity = bizAiLegislativeDocumentWritingEntities.get(0);
LegislativeDocumentResult oldLegislativeDocumentResult = JsonUtils.deSerialize(aiLegislativeDocumentWritingEntity.getLegislativeDocumentWritingDialoguesData(), LegislativeDocumentResult.class);
JSONObject legislativeDocumentResultJsonObject = JSONObject.parseObject(JsonUtils.serialize(legislativeDocumentResult));
JSONObject oldLegislativeDocumentResultJsonObject = JSONObject.parseObject(JsonUtils.serialize(oldLegislativeDocumentResult));
JsonUtils.deepMerge(legislativeDocumentResultJsonObject, oldLegislativeDocumentResultJsonObject);
legislativeDocumentResult = oldLegislativeDocumentResultJsonObject.toJavaObject(LegislativeDocumentResult.class);
bizAiLegislativeDocumentWritingEntity.setLegislativeDocumentWritingId(aiLegislativeDocumentWritingEntity.getLegislativeDocumentWritingId());
bizAiLegislativeDocumentWritingEntity.setLegislativeDocumentWritingDialoguesData(JsonUtils.serialize(legislativeDocumentResult));
bizAiLegislativeDocumentWritingService.update(bizAiLegislativeDocumentWritingEntity);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment