Forráskód Böngészése

多返回项目信息3

Reiskuchen 5 éve
szülő
commit
e6b03dbbd9

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/service/impl/ReportServiceImpl.java

@@ -88,7 +88,7 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
             }
             resultMap.put("time", totalWorkingTime);
             resultMap.put("project", projectMapper.selectList(new QueryWrapper<Project>()
-                    .eq("company_id", userMapper.selectById(userId))));
+                    .eq("company_id", userMapper.selectById(userId).getCompanyId())));
             httpRespMsg.data = resultMap;
         } catch (NullPointerException e) {
             httpRespMsg.setError("验证失败");