|
|
@@ -870,7 +870,9 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
|
|
|
Long companyId= null;
|
|
|
if (user.getUserId()!=1){
|
|
|
companyId = user.getDept().getCompanyId();
|
|
|
- if (companyId==null)user.getDept().getDeptId();
|
|
|
+ if (companyId==null){
|
|
|
+ companyId=user.getDept().getDeptId();
|
|
|
+ }
|
|
|
}
|
|
|
return projectTaskMapper.getAllProjectMonth(companyId);
|
|
|
}
|