package com.github.wxiaoqi.security.admin.mapper;

import com.github.wxiaoqi.security.admin.entity.AppStaffUser;
import com.github.wxiaoqi.security.admin.entity.ModifiedUsers;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import javax.persistence.Id;
import java.util.List;

/**
 * @author Administrator
 */
public interface AppStaffUserMapper extends Mapper<AppStaffUser> {
    List<AppStaffUser> selectByBysuIdOrUsername(@Param("id") Integer id,@Param("username") String username);

    void updateByPositionId(ModifiedUsers modifiedUsers);

    void update(ModifiedUsers modifiedUsers);
}
