package com.kmall.admin.service.vip; import com.kmall.admin.dto.Mall2RulesDto; import com.kmall.admin.entity.vip.Mall2PointsRulesDetilEntity; import com.kmall.common.utils.R; import java.util.List; import java.util.Map; /** * 积分规则明细表Service接口 * * @author emato * @email admin@qhdswl.com * @date 2022-04-12 15:05:12 */ public interface Mall2PointsRulesDetilService { /** * 根据主键查询实体 * * @param id 主键 * @return 实体 */ Mall2PointsRulesDetilEntity queryObject(Integer id); /** * 分页查询 * * @param map 参数 * @return list */ List queryList(Map map); /** * 分页统计总数 * * @param map 参数 * @return 总数 */ int queryTotal(Map map); /** * 保存实体 * * @param Mall2RulesDto 实体 * @return 保存条数 */ R save(Mall2RulesDto Mall2RulesDto); /** * 根据主键更新实体 * * @param mall2RulesDto 实体 * @return 更新条数 */ R update(Mall2RulesDto mall2RulesDto); /** * 根据主键删除 * * @param id * @return 删除条数 */ int delete(Integer id); /** * 根据主键批量删除 * * @param ids * @return 删除条数 */ int deleteBatch(Integer[]ids); Integer deleteByFatherId(Integer fatherId); }