添加@mapper注解
parent
ae2544d860
commit
9ee8caedf5
@ -1,30 +1,32 @@
|
||||
package com.sztzjy.money_management.mapper;
|
||||
|
||||
import com.sztzjy.money_management.entity.userinfo;
|
||||
import com.sztzjy.money_management.entity.userinfoExample;
|
||||
import com.sztzjy.money_management.entity.UserInfo;
|
||||
import com.sztzjy.money_management.entity.UserInfoExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface userinfoMapper {
|
||||
long countByExample(userinfoExample example);
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
public interface UserInfoMapper {
|
||||
long countByExample(UserInfoExample example);
|
||||
|
||||
int deleteByExample(userinfoExample example);
|
||||
int deleteByExample(UserInfoExample example);
|
||||
|
||||
int deleteByPrimaryKey(String userid);
|
||||
|
||||
int insert(userinfo record);
|
||||
int insert(UserInfo record);
|
||||
|
||||
int insertSelective(userinfo record);
|
||||
int insertSelective(UserInfo record);
|
||||
|
||||
List<userinfo> selectByExample(userinfoExample example);
|
||||
List<UserInfo> selectByExample(UserInfoExample example);
|
||||
|
||||
userinfo selectByPrimaryKey(String userid);
|
||||
UserInfo selectByPrimaryKey(String userid);
|
||||
|
||||
int updateByExampleSelective(@Param("record") userinfo record, @Param("example") userinfoExample example);
|
||||
int updateByExampleSelective(@Param("record") UserInfo record, @Param("example") UserInfoExample example);
|
||||
|
||||
int updateByExample(@Param("record") userinfo record, @Param("example") userinfoExample example);
|
||||
int updateByExample(@Param("record") UserInfo record, @Param("example") UserInfoExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(userinfo record);
|
||||
int updateByPrimaryKeySelective(UserInfo record);
|
||||
|
||||
int updateByPrimaryKey(userinfo record);
|
||||
int updateByPrimaryKey(UserInfo record);
|
||||
}
|
Loading…
Reference in New Issue