Browse Source

系统自动分配排除指定协销

huangzhiguo 1 year ago
parent
commit
a56d45c438
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/resources/mapper/ClubMapper.xml

+ 2 - 1
src/main/resources/mapper/ClubMapper.xml

@@ -1263,7 +1263,8 @@
         SELECT sp.serviceProviderID FROM serviceprovider sp
         WHERE sp.organizeID = 0
           and sp.status=90
-          and sp.serviceProviderID != 1342 and linkMan not LIKE '%测试%'
+          and sp.serviceProviderID NOT IN ( 1342 , 1353 , 1369)
+          and linkMan not LIKE '%测试%'
         ORDER BY RAND()
         LIMIT 0,1;
     </select>