修复缺少字段
This commit is contained in:
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"java.compile.nullAnalysis.mode": "automatic"
|
||||
"java.compile.nullAnalysis.mode": "automatic",
|
||||
"java.configuration.updateBuildConfiguration": "interactive"
|
||||
}
|
||||
@@ -232,6 +232,7 @@ public class SysOaAttendanceServiceImpl implements ISysOaAttendanceService {
|
||||
// 开始写入
|
||||
for (Long userId : workerIds) {
|
||||
SysUserVo sysUser = BeanUtil.toBean(sysUserService.selectUserByIdIncludingDel(userId), SysUserVo.class);
|
||||
|
||||
SysOaAttendanceVo sysOaAttendanceVo = new SysOaAttendanceVo();
|
||||
//如果sysUser为空就跳过
|
||||
if (sysUser == null) {
|
||||
|
||||
@@ -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