package com.ruoyi.system.mapper;
import com.ruoyi.system.domain.Shu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface ShuMapper {
    @Select("select f from shu")
    List<Shu> selectshu();

    @Update("update shu SET f = f+1 where id=1")
    void updateshu();


}
