zhaoxian пре 2 година
родитељ
комит
2b8a55f177

+ 7 - 1
ruixuan-live/src/main/resources/mapper/isc/KuaishouPromoterMapper.xml

@@ -131,7 +131,13 @@
                 and t2.promoter_nick_name like concat('%', #{promoterNickName}, '%')
             </if>
         </where>
-        ) t order by ${parameter} ${orderBy}
+        ) t
+        <where>
+            <if test="status != null ">
+                and `status` = #{status}
+            </if>
+        </where>
+        order by ${parameter} ${orderBy}
     </select>
 
     <select id="selectKuaishouPromoterById" parameterType="Long" resultMap="KuaishouPromoterResult">