package com.winsun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.winsun.bean.KdyList;
import com.winsun.bean.RhPhone;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;

@Mapper
@Component
public interface RhPhoneMapper extends BaseMapper<RhPhone> {
    @Delete("delete from hhr_kd_phone where phone = #{phone}")
    void deletePhone(@Param("phone") String phone);
}
