fix:报告数据组装
This commit is contained in:
@@ -39,6 +39,8 @@ public class ReportDocumentFileServiceImpl implements ReportDocumentFileService
|
||||
LambdaQueryWrapper<ReportDocumentFileDO> query = new LambdaQueryWrapper<>();
|
||||
query.eq(ReportDocumentFileDO::getMainId, mainId);
|
||||
query.eq(ReportDocumentFileDO::getVersion, version);
|
||||
query.orderByDesc(ReportDocumentFileDO::getCreateTime);
|
||||
query.last("LIMIT 1");
|
||||
return reportDocumentFileMapper.selectOne(query);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user