1
zj
2024-10-11 f37052eabfc9243e2004e7f2d0495f3b838225ad
src/main/resources/mapper/UserStockSubscribeMapper.xml
@@ -213,6 +213,15 @@
        <if test="keyword != null and keyword != ''">
            and (user_id = #{keyword} or real_name like CONCAT('%',#{keyword},'%') or phone like CONCAT('%',#{keyword},'%'))
        </if>
        <if test="agentId != null and agentId != ''">
            and agent_id = #{agentId}
        </if>
        <if test="name != null and name != ''">
            and new_name = #{name}
        </if>
        <if test="status != null and status != ''">
            and status = #{status}
        </if>
        order by id desc
    </select>