09229990 by 肖初晴

【DAOP-1.0】数据需求

【功能点】测试问题处理
1 parent 9930e3f1
...@@ -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 /**
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!