package com.ishop.mobile.service; import com.walker.jdbc.service.BaseServiceImpl; import org.springframework.stereotype.Service; @Service public class UserCenterServiceImpl extends BaseServiceImpl { /** * 获取用户浏览足迹数量。 * @param userId * @return * @date 2023-06-30 */ public int queryUserBrowseRecordCount(long userId){ return this.queryForInt(SQL_BROWSE_COUNT, new Object[]{userId}); } private static final String SQL_BROWSE_COUNT = "select count(*) from eb_browse_record where uid=?"; }