首页>代码>SSM(spring+springmvc+mybatis)开发农资采购销售系统,项目为maven项目,后台可配置化,系统可学习性高。>/snack/src/main/java/com/snack/mapper/AccountMapper.java
package com.snack.mapper; import com.snack.model.Account; import com.snack.model.AccountExample; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; public interface AccountMapper { int countByExample(AccountExample example); int deleteByExample(AccountExample example); int deleteByPrimaryKey(Integer mId); int insert(Account record); int insertSelective(Account record); List<Account> selectByExample(AccountExample example); Account selectByPrimaryKey(Integer mId); int updateByExampleSelective(@Param("record") Account record, @Param("example") AccountExample example); int updateByExample(@Param("record") Account record, @Param("example") AccountExample example); int updateByPrimaryKeySelective(Account record); int updateByPrimaryKey(Account record); List<Account> selectAccountLimit(Map<Object,Object> map); int selectNum(@Param("a") int a,@Param("b") int b); }