wangliang hace 1 año
padre
commit
8001e5a09a
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      sop-business/src/main/resources/mapper/SysUserMapper.xml

+ 6 - 0
sop-business/src/main/resources/mapper/SysUserMapper.xml

@@ -59,6 +59,9 @@
                     </otherwise>
                 </choose>
             </if>
+            <if test="serviceId != null and serviceId != ''">
+                and tbs.id = #{serviceId}
+            </if>
             <if test="customName != null and customName != ''">
                 and sc.name like concat('%', #{customName}, '%')
             </if>
@@ -122,6 +125,9 @@
                     </otherwise>
                 </choose>
             </if>
+            <if test="serviceId != null and serviceId != ''">
+                and tbs.id = #{serviceId}
+            </if>
             <if test="customName != null and customName != ''">
                 and sc.name like concat('%', #{customName}, '%')
             </if>