修复缺少字段

This commit is contained in:
2025-09-04 15:13:35 +08:00
parent 6fe5e8017e
commit 8552119fd4
4 changed files with 6 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService {
public List<SysOssVo> listByIds(Collection<Long> ossIds) {
List<SysOssVo> list = new ArrayList<>();
for (Long id : ossIds) {
SysOssVo vo = SpringUtils.getAopProxy(this).getById(id);
SysOssVo vo = baseMapper.selectVoById(id);
if (ObjectUtil.isNotNull(vo)) {
list.add(this.matchingUrl(vo));
}
@@ -104,7 +104,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService {
@Override
public void download(Long ossId, HttpServletResponse response) throws IOException {
SysOssVo sysOss = SpringUtils.getAopProxy(this).getById(ossId);
SysOssVo sysOss = baseMapper.selectVoById(ossId);
if (ObjectUtil.isNull(sysOss)) {
throw new ServiceException("文件数据不存在!");
}

View File

@@ -208,7 +208,7 @@
<select id="selectListAndNotDel" resultMap="ClearUser">
select user_id,user_name, u.insure,nick_name,labor_cost from sys_user where del_flag ='0'
select user_id,user_name,insure,nick_name,labor_cost from sys_user where del_flag ='0'
</select>