package com.kmall.admin.service.vip; import com.kmall.admin.entity.vip.Mall2MemberPointsEntity; import java.util.List; import java.util.Map; /** * 会员积分表Service接口 * * @author emato * @email admin@qhdswl.com * @date 2020-06-15 10:44:07 */ public interface Mall2MemberPointsService { /** * 根据主键查询实体 * * @param id 主键 * @return 实体 */ Mall2MemberPointsEntity queryObject(Integer mmpId); /** * 分页查询 * * @param map 参数 * @return list */ List queryList(Map map); /** * 分页统计总数 * * @param map 参数 * @return 总数 */ int queryTotal(Map map); /** * 保存实体 * * @param mall2MemberPoints 实体 * @return 保存条数 */ int save(Mall2MemberPointsEntity mall2MemberPoints); /** * 根据主键更新实体 * * @param mall2MemberPoints 实体 * @return 更新条数 */ int update(Mall2MemberPointsEntity mall2MemberPoints); /** * 根据主键删除 * * @param mmpId * @return 删除条数 */ int delete(Integer mmpId); /** * 根据主键批量删除 * * @param mmpIds * @return 删除条数 */ int deleteBatch(Integer[] mmpIds); }