修改了查询我参与项目的接口

This commit is contained in:
DESKTOP-G8BCEP0\HP 2021-08-25 16:45:01 +08:00
parent f32bb0a15e
commit 33baa12938

View File

@ -69,10 +69,7 @@ public class WorkHourRecordController {
return outputEncapsulationObject(PromptMessageEnum.USER_LOGIN_ERROR,"您还没有注册登录,请先注册登录",locale); return outputEncapsulationObject(PromptMessageEnum.USER_LOGIN_ERROR,"您还没有注册登录,请先注册登录",locale);
} }
List<MemberWorkRecordVo> memberWorkRecordVos = workHourRecordService.selectMemberWorkRecord(sysUserEntity.getId()); List<MemberWorkRecordVo> memberWorkRecordVos = workHourRecordService.selectMemberWorkRecord(sysUserEntity.getId());
list.add(memberWorkRecordVos); list.add(memberWorkRecordVos);
List<MemberWorkRecordVo> memberWorkRecordVos1 = workHourRecordService.selectMemberAndParWorkRecord(sysUserEntity.getId());
list.add(memberWorkRecordVos1);
if(list.size() == 0){ if(list.size() == 0){
return outputEncapsulationObject(PromptMessageEnum.DATA_NONE,"暂时还没有任何数据",locale); return outputEncapsulationObject(PromptMessageEnum.DATA_NONE,"暂时还没有任何数据",locale);
} }