package com.gxx.record.base.master.dao; import org.springframework.stereotype.Repository; import com.gxx.record.base.master.vo.User; @Repository("masterUserMapper") public interface UserMapper { int deleteByPrimaryKey(Integer id); int insert(User record); int insertSelective(User record); User selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(User record); int updateByPrimaryKey(User record); /** * 根据姓名查用户 * @param name * @return */ User getUserByName(String name); }