Przeglądaj źródła

卡签设备调整

master
huminghao 1 tydzień temu
rodzic
commit
010c346fee

+ 1
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/card/InvwCardDetailsManagerImpl.java Wyświetl plik

@@ -65,7 +65,7 @@ public class InvwCardDetailsManagerImpl extends AbstractInvwManager implements I
Staff staff = staffRepo.findByOpenId(findOpenIdByToken(dto.getAccessToken()));
if (ObjectUtils.isNotEmpty(staff)){
pageRequest.setAgencyId(staff.getAgencyId());
if ("MANAGER".equals(staff.getIdentityType())){
if ("MANAGER".equals(staff.getIdentityType()) || "52010106004".equals(staff.getAgencyId())){
pageRequest.setAgencyId(null);
}
}

+ 1
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/obu/InvwObuDetailsManagerImpl.java Wyświetl plik

@@ -63,7 +63,7 @@ public class InvwObuDetailsManagerImpl extends AbstractInvwManager implements In
Staff staff = staffRepo.findByOpenId(findOpenIdByToken(dto.getAccessToken()));
if (ObjectUtils.isNotEmpty(staff)){
pageRequest.setAgencyId(staff.getAgencyId());
if ("MANAGER".equals(staff.getIdentityType())){
if ("MANAGER".equals(staff.getIdentityType()) || "52010106004".equals(staff.getAgencyId())){
pageRequest.setAgencyId(null);
}
}

Ładowanie…
Anuluj
Zapisz