package tech.glinfo.enbao.modules.sh.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import tech.glinfo.enbao.modules.sh.entity.ShLockUserEntity;

/**
 * @author lyt
 * @date 2022/3/1 10:57
 */
@Mapper
public interface OtherShLockUserDao extends BaseMapper<ShLockUserEntity> {


    @Update("<script>" +
            "   UPDATE sh_lock_user SET face_param = NULL, face_img = NULL WHERE id = ${id}"
            +
            " </script>")
    void deleteFaceLock(Integer id);
}
