【DAOP-1.0】数据需求
【功能点】测试问题处理
Showing
1 changed file
with
14 additions
and
0 deletions
... | @@ -541,6 +541,20 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -541,6 +541,20 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService |
541 | rqQueryVO.setGuidList(bizGuidList); | 541 | rqQueryVO.setGuidList(bizGuidList); |
542 | } | 542 | } |
543 | } | 543 | } |
544 | //如果是非认证会员在操作时,如果是管理员看全部,非管理员看自己的数据 | ||
545 | StaffRSVO staff = getCurStaff(); | ||
546 | if("非认证会员".equals(staff.getTenantName())){ | ||
547 | if("N".equals(staff.getIsAdmin())){ | ||
548 | rqQueryVO.setCreateUserName(staff.getStaffName()); | ||
549 | } | ||
550 | } | ||
551 | } | ||
552 | |||
553 | private StaffRSVO getCurStaff(){ | ||
554 | UserInfo userInfo = UserContextHolder.get(); | ||
555 | userInfo.getUserId(); | ||
556 | StaffRSVO staffVO = personelFeign.getByUserGuid(userInfo.getUserId()).getData(); | ||
557 | return staffVO; | ||
544 | } | 558 | } |
545 | 559 | ||
546 | /** | 560 | /** | ... | ... |
-
Please register or sign in to post a comment