首页>代码>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);
}
最近下载更多
xalnb04  LV1 21小时前
xtclhl  LV1 昨天
quanksxy  LV1 前天
wlslei  LV1 4月12日
旺旺小小舒  LV16 3月20日
血羽如风  LV4 1月25日
沈从文  LV2 1月1日
houhanlin33  LV3 2023年12月28日
768881787  LV7 2023年12月25日
最近浏览更多
xalnb04  LV1 21小时前
xtclhl  LV1 昨天
quanksxy  LV1 前天
wlslei  LV1 4月12日
2131234536546  LV7 3月31日
旺旺小小舒  LV16 3月18日
h G24741  LV2 3月12日
xiaopengzep  LV1 3月11日
lihao0217  LV1 2月4日
血羽如风  LV4 1月25日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友