Compare commits

..

No commits in common. "6d024047364c5868f97db7c146dd19389eed374f" and "e701980ddec55a9d4771e9f1de98d406ce02c320" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.member.domain.MemberPoints;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 博主积分变动明细Mapper接口
@ -25,5 +24,5 @@ public interface MemberPointsMapper extends BaseMapper<MemberPoints> {
* @author PQZ
* @date 15:25 2025/3/29
**/
IPage<MemberPoints> queryListPage(@Param("userId") Long userId, Page<MemberPoints> page);
IPage<MemberPoints> queryListPage(Long userId, Page<MemberPoints> page);
}

View File

@ -27,8 +27,7 @@
<select id="queryListPage" parameterType="MemberPoints" resultMap="MemberPointsResult">
<include refid="selectMemberPointsVo"/>
<where>
<if test="userId != null"> and user_id = #{userId}</if>
<if test="entity.userId != null"> and user_id = #{entity.userId}</if>
</where>
order by create_time desc
</select>
</mapper>