Browse Source

fix:【案件录入】修改

master
zhangjing 3 weeks ago
parent
commit
e1ed53c708
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      src/main/java/com/fkzy/warn/service/impl/AlarmCaseServiceImpl.java
  2. +1
    -1
      src/main/java/com/fkzy/warn/service/impl/LawCaseServiceImpl.java

+ 2
- 2
src/main/java/com/fkzy/warn/service/impl/AlarmCaseServiceImpl.java View File

@ -93,8 +93,8 @@ public class AlarmCaseServiceImpl extends ServiceImpl
monitorUsersList.forEach(item -> { monitorUsersList.forEach(item -> {
InvocationRecord lawResult = LawResearchUtil.querySxx(item.getCompanyName(), item.getCreditCode(),null); InvocationRecord lawResult = LawResearchUtil.querySxx(item.getCompanyName(), item.getCreditCode(),null);
invocationRecordService.saveModel(result); invocationRecordService.saveModel(result);
JSONObject object = JSONObject.parseObject(lawResult.getApiResult());
lawCaseService.judicialModelSave(object);
JSONObject resultObj = JSONObject.parseObject(lawResult.getApiResult());
lawCaseService.judicialModelSave(resultObj);
}); });

+ 1
- 1
src/main/java/com/fkzy/warn/service/impl/LawCaseServiceImpl.java View File

@ -205,7 +205,7 @@ public class LawCaseServiceImpl extends ServiceImpl impl
// ReportModel reportModel = createReportData(); // ReportModel reportModel = createReportData();
// ReportUtil.createReport(reportModel); // ReportUtil.createReport(reportModel);
// String filePath = "丰县城市建设投资集团有限公司-司法.txt"; // String filePath = "丰县城市建设投资集团有限公司-司法.txt";
//// String filePath = "工商.txt";
// String filePath = "司法徐州.txt";
// String jsonOutput = convertTextToJson(filePath); // String jsonOutput = convertTextToJson(filePath);
// if (jsonOutput == null) { // if (jsonOutput == null) {
// logger.error("转换失败,JSON 字符串为空"); // logger.error("转换失败,JSON 字符串为空");

Loading…
Cancel
Save