修复缺少字段
This commit is contained in:
@@ -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("文件数据不存在!");
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user