TRX 1 éve
szülő
commit
a402880437

+ 3 - 0
FullCardServer/src/main/java/com/zhongshu/card/server/core/service/school/DeviceBindServiceImpl.java

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