package com.kmall.admin.service.mk; import com.kmall.admin.entity.mk.Mk2GoodsTopicPriceEntity; import java.util.List; import java.util.Map; /** * 商品活动价格表Service接口 * * @author emato * @email admin@qhdswl.com * @date 2020-06-15 10:44:07 */ public interface Mk2GoodsTopicPriceService { /** * 根据主键查询实体 * * @param id 主键 * @return 实体 */ Mk2GoodsTopicPriceEntity queryObject(Integer mgthpId); /** * 分页查询 * * @param map 参数 * @return list */ List queryList(Map map); /** * 分页统计总数 * * @param map 参数 * @return 总数 */ int queryTotal(Map map); /** * 保存实体 * * @param mk2GoodsTopicPrice 实体 * @return 保存条数 */ int save(Mk2GoodsTopicPriceEntity mk2GoodsTopicPrice); /** * 根据主键更新实体 * * @param mk2GoodsTopicPrice 实体 * @return 更新条数 */ int update(Mk2GoodsTopicPriceEntity mk2GoodsTopicPrice); /** * 根据主键删除 * * @param mgthpId * @return 删除条数 */ int delete(Integer mgthpId); /** * 根据主键批量删除 * * @param mgthpIds * @return 删除条数 */ int deleteBatch(Integer[] mgthpIds); }