瀏覽代碼

卡签设备调整

master
huminghao 1 周之前
父節點
當前提交
010c346fee

+ 1
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/card/InvwCardDetailsManagerImpl.java 查看文件

Staff staff = staffRepo.findByOpenId(findOpenIdByToken(dto.getAccessToken())); Staff staff = staffRepo.findByOpenId(findOpenIdByToken(dto.getAccessToken()));
if (ObjectUtils.isNotEmpty(staff)){ if (ObjectUtils.isNotEmpty(staff)){
pageRequest.setAgencyId(staff.getAgencyId()); pageRequest.setAgencyId(staff.getAgencyId());
if ("MANAGER".equals(staff.getIdentityType())){
if ("MANAGER".equals(staff.getIdentityType()) || "52010106004".equals(staff.getAgencyId())){
pageRequest.setAgencyId(null); pageRequest.setAgencyId(null);
} }
} }

+ 1
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/obu/InvwObuDetailsManagerImpl.java 查看文件

Staff staff = staffRepo.findByOpenId(findOpenIdByToken(dto.getAccessToken())); Staff staff = staffRepo.findByOpenId(findOpenIdByToken(dto.getAccessToken()));
if (ObjectUtils.isNotEmpty(staff)){ if (ObjectUtils.isNotEmpty(staff)){
pageRequest.setAgencyId(staff.getAgencyId()); pageRequest.setAgencyId(staff.getAgencyId());
if ("MANAGER".equals(staff.getIdentityType())){
if ("MANAGER".equals(staff.getIdentityType()) || "52010106004".equals(staff.getAgencyId())){
pageRequest.setAgencyId(null); pageRequest.setAgencyId(null);
} }
} }

Loading…
取消
儲存