Browse Source

服务商任务bugfix

zhijiezhao 3 weeks ago
parent
commit
3fc84400d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/providers/CmProvidersMapper.xml

+ 1 - 1
src/main/resources/mapper/providers/CmProvidersMapper.xml

@@ -495,7 +495,7 @@
         select sp.serviceProviderId, name, linkMan, userId, contractMobile as mobile, ptr.receiveFlag
         from serviceprovider sp
         left join provider_task_role ptr on sp.serviceProviderId = ptr.serviceProviderId AND ptr.taskId = #{taskId}
-        WHERE ptr.serviceProviderId IS NULL
+        WHERE ptr.serviceProviderId IS NULL and sp.status = 90
         <if test="mobile != null and mobile != ''">and sp.contractMobile = #{mobile}</if>
         <if test="name != null and name != ''">and sp.name like concat('%', #{name}, '%')</if>
     </select>