首页>代码>ssm框架实现的简单增删改查功能>/MyMvc/src/main/java/edu/gyc/dao/UserDao.java
package edu.gyc.dao;

import edu.gyc.model.User;
import edu.gyc.model.UserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    long countByExample(UserExample example);

    int deleteByExample(UserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    User selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);

    int updateByExample(@Param("record") User record, @Param("example") UserExample example);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);



    User findByUsername(String username);

    void registerByUsernameAndPassword(@Param("username")String username,
                                       @Param("password")String password);
}

最近下载更多
gdw532  LV1 3月27日
无耻之徒1241412  LV1 2024年12月25日
taoshen95  LV16 2024年12月17日
2421796355  LV1 2024年12月10日
248727703  LV1 2024年7月14日
wanglinddad  LV55 2024年6月21日
965718  LV1 2024年6月21日
szqqqaaqqa  LV1 2024年6月20日
最近浏览更多
gdw532  LV1 3月27日
六595323 2024年12月25日
暂无贡献等级
无耻之徒1241412  LV1 2024年12月25日
taoshen95  LV16 2024年12月17日
2421796355  LV1 2024年12月10日
微信网友_7265127836766208 2024年11月22日
暂无贡献等级
yzx1065485 2024年11月5日
暂无贡献等级
liupei412 2024年10月26日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友