1
zj
2026-01-19 055926357a0e6725122f69197c3e1b89d33454d8
src/main/resources/mapper/UserStockSubscribeMapper.xml
@@ -201,9 +201,8 @@
    </update>
    <select id="load" resultMap="BaseResultMap">
        SELECT <include refid="Base_Column_List" />
        FROM user_stock_subscribe
    <select id="load" resultType="com.nq.pojo.UserStockSubscribe" parameterType="int">
        SELECT * FROM user_stock_subscribe
        WHERE id = #{id}
    </select>
@@ -214,6 +213,9 @@
        <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>
        order by id desc
    </select>