package org.ta.pddserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.ta.pdd.entity.CollectFreightFeeDetailDiscountDetailEntity;

@Mapper
public interface CollectFreightFeeDetailDiscountDetailMapper extends BaseMapper<CollectFreightFeeDetailDiscountDetailEntity> {
    @Delete("DELETE FROM `collect_freight_fee_detail_discount_detail` WHERE `orderCode` = #{orderCode};")
    Integer deleteByOrderCode(@Param("orderCode") String orderCode);
}
