package com.ruoyi.mall.service;

import java.util.List;
import com.ruoyi.mall.domain.MallAppSalesmanAchievement;

/**
 * app-业务员业绩Service接口
 *
 * @author ruoyi
 * @date 2024-07-04
 */
public interface IMallAppSalesmanAchievementService
{
    /**
     * 查询app-业务员业绩
     *
     * @param achievementId app-业务员业绩主键
     * @return app-业务员业绩
     */
    public MallAppSalesmanAchievement selectMallAppSalesmanAchievementByAchievementId(Long achievementId);

    /**
     * 查询app-业务员业绩列表
     *
     * @param mallAppSalesmanAchievement app-业务员业绩
     * @return app-业务员业绩集合
     */
    public List<MallAppSalesmanAchievement> selectMallAppSalesmanAchievementList(MallAppSalesmanAchievement mallAppSalesmanAchievement);

    /**
     * 新增app-业务员业绩
     *
     * @param mallAppSalesmanAchievement app-业务员业绩
     * @return 结果
     */
    public int insertMallAppSalesmanAchievement(MallAppSalesmanAchievement mallAppSalesmanAchievement);

    /**
     * 修改app-业务员业绩
     *
     * @param mallAppSalesmanAchievement app-业务员业绩
     * @return 结果
     */
    public int updateMallAppSalesmanAchievement(MallAppSalesmanAchievement mallAppSalesmanAchievement);

    /**
     * 批量删除app-业务员业绩
     *
     * @param achievementIds 需要删除的app-业务员业绩主键集合
     * @return 结果
     */
    public int deleteMallAppSalesmanAchievementByAchievementIds(Long[] achievementIds);

    /**
     * 删除app-业务员业绩信息
     *
     * @param achievementId app-业务员业绩主键
     * @return 结果
     */
    public int deleteMallAppSalesmanAchievementByAchievementId(Long achievementId);

    /**
     * 查询app-业务员业绩
     *
     * @param orderId app-订单主键ID
     * @return app-业务员业绩
     */
    public MallAppSalesmanAchievement selectMallAppSalesmanAchievementByOrderId(Long orderId);
}
