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

@Mapper
public interface CollectOrderSnMapper extends BaseMapper<CollectOrderSnEntity> {

    @Delete("DELETE FROM `collect_order` WHERE `orderCode` = #{orderCode};")
    Integer deleteByOrderCode(@Param("orderCode") String orderCode);
}
