106 lines
3.0 KiB
Java
106 lines
3.0 KiB
Java
package com.jsh.erp.datasource.mappers;
|
|
|
|
import com.jsh.erp.datasource.entities.Person;
|
|
import com.jsh.erp.datasource.entities.PersonExample;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
public interface PersonMapper {
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int countByExample(PersonExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int deleteByExample(PersonExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int deleteByPrimaryKey(Long id);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int insert(Person record);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int insertSelective(Person record);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
List<Person> selectByExample(PersonExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
Person selectByPrimaryKey(Long id);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByExampleSelective(@Param("record") Person record, @Param("example") PersonExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByExample(@Param("record") Person record, @Param("example") PersonExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByPrimaryKeySelective(Person record);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_person
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByPrimaryKey(Person record);
|
|
|
|
List<Person> selectByConditionPerson(
|
|
@Param("name") String name,
|
|
@Param("type") String type,
|
|
@Param("offset") Integer offset,
|
|
@Param("rows") Integer rows);
|
|
|
|
int countsByPerson(
|
|
@Param("name") String name,
|
|
@Param("type") String type);
|
|
} |