优化工作底稿索引,调整格式为:["文件ID||文件名||下载地址"]
This commit is contained in:
@@ -192,7 +192,7 @@ public class AuditContent6StateAssetsServiceImpl extends AbstractAuditContentSer
|
||||
context.append("1. 必须全面识别知识库中所有国有资产,包括:房屋、土地、车辆、机械设备、办公设备、电子设备、家具、无形资产等\n");
|
||||
context.append("2. 每个独立的资产都要生成独立的审计记录,不限制数量,尽可能多地生成\n");
|
||||
context.append("3. 即使资产信息不完整,也要基于现有信息生成审计记录\n");
|
||||
context.append("4. workPaperIndex必须填写实际存在的完整文件名\n");
|
||||
context.append("4. workPaperIndex必须填写实际存在的完整文件FileId\n");
|
||||
context.append("5. 对于未出租资产,承租方、合同金额等字段填写\"未出租\"\n");
|
||||
context.append("6. 备注中应详细说明资产状况、使用情况、合规性评价\n");
|
||||
context.append("7. 不能填写简单的\"无\",要提供有意义的描述\n\n");
|
||||
@@ -320,12 +320,12 @@ public class AuditContent6StateAssetsServiceImpl extends AbstractAuditContentSer
|
||||
}
|
||||
|
||||
// 确保工作底稿索引是数组格式
|
||||
if (!item.containsKey("workPaperIndex") || !(item.get("workPaperIndex") instanceof JSONArray)) {
|
||||
JSONArray workPaperIndex = new JSONArray();
|
||||
String assetName = item.getString("assetName");
|
||||
workPaperIndex.add(assetName + "资产登记台账");
|
||||
item.put("workPaperIndex", workPaperIndex);
|
||||
}
|
||||
// if (!item.containsKey("workPaperIndex") || !(item.get("workPaperIndex") instanceof JSONArray)) {
|
||||
// JSONArray workPaperIndex = new JSONArray();
|
||||
// String assetName = item.getString("assetName");
|
||||
// workPaperIndex.add(assetName + "资产登记台账");
|
||||
// item.put("workPaperIndex", workPaperIndex);
|
||||
// }
|
||||
|
||||
processedData.add(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user