package com.dk.mdm.mapper.sale;

import com.dk.mdm.model.pojo.sale.MultiOwner;
import com.dk.common.mapper.BaseMapper;
import com.dk.mdm.model.query.sale.MultiOwnerQuery;
import com.dk.mdm.model.response.sale.MultiOwnerResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*  多业务归属 Mapper
*/
@Repository
public interface MultiOwnerMapper extends BaseMapper<MultiOwner>{


    /**
     * @desc : 删除明细(通过订单Id)
     * @author : 付斌
     * @date : 2024-03-03 14:17
     */
    int deleteByOrderId(@Param("orderId") String orderId);
    List<MultiOwnerResponse> selectByType(MultiOwnerQuery multiOwnerQuery);
}

