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.CollectOrderLogisticsOrderCodeEntity;

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