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

import edu.gyc.model.Car;
import edu.gyc.model.CarExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CarDao {

    int getTotal(Map<String, Object> map);

    List<Car> query(Map<String, Object> map);

    long countByExample(CarExample example);

    int deleteByExample(CarExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Car record);

    int insertSelective(Car record);

    List<Car> selectByExample(CarExample example);

    Car selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Car record, @Param("example") CarExample example);

    int updateByExample(@Param("record") Car record, @Param("example") CarExample example);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);
}
最近下载更多
xiaotao555555  LV3 6月22日
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日
最近浏览更多
xiaotao555555  LV3 6月22日
vincemokea  LV5 5月5日
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日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友