|
|
@@ -1246,11 +1246,11 @@ public class HealthReportService {
|
|
|
* 设置代上传人信息
|
|
|
*/
|
|
|
public void setProxyUploader(Long reportId, Long proxyUploaderId) {
|
|
|
- HealthReport report = reportMapper.selectById(reportId);
|
|
|
+ HealthReport report = healthReportMapper.selectById(reportId);
|
|
|
if (report != null) {
|
|
|
report.setProxyUploaderId(proxyUploaderId);
|
|
|
report.setUpdatedAt(new Date());
|
|
|
- reportMapper.updateById(report);
|
|
|
+ healthReportMapper.updateById(report);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -1261,11 +1261,11 @@ public class HealthReportService {
|
|
|
try {
|
|
|
com.alibaba.fastjson.JSON json = com.alibaba.fastjson.JSON.parseObject(
|
|
|
com.alibaba.fastjson.JSON.toJSONString(aiData));
|
|
|
- HealthReport report = reportMapper.selectById(reportId);
|
|
|
+ HealthReport report = healthReportMapper.selectById(reportId);
|
|
|
if (report != null) {
|
|
|
report.setAiAnalysis(json.toJSONString());
|
|
|
report.setUpdatedAt(new Date());
|
|
|
- reportMapper.updateById(report);
|
|
|
+ healthReportMapper.updateById(report);
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
log.warn("保存AI解读失败: {}", e.getMessage());
|