瀏覽代碼

达人公海

zhaoxian 2 年之前
父節點
當前提交
2b8a55f177
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      ruixuan-live/src/main/resources/mapper/isc/KuaishouPromoterMapper.xml

+ 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">