| | |
| | | </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> |
| | | |
| | |
| | | <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> |
| | | |