|
@@ -191,6 +191,9 @@ public class DeviceBindServiceImpl extends SuperService implements DeviceBindSer
|
|
|
if (organization.getAuthType() == AuthType.School) {
|
|
if (organization.getAuthType() == AuthType.School) {
|
|
|
// 查询这个学校绑定的设备
|
|
// 查询这个学校绑定的设备
|
|
|
param.setSchoolInfoOid(oid);
|
|
param.setSchoolInfoOid(oid);
|
|
|
|
|
+ } else if (organization.getAuthType() == AuthType.BusinessMain) {
|
|
|
|
|
+ // 如果是商户
|
|
|
|
|
+ shopOids.add(oid);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
param.setShopInfoOids(shopOids);
|
|
param.setShopInfoOids(shopOids);
|