更新后端,采用Springboot+mybatis
This commit is contained in:
106
src/main/java/com/jsh/erp/datasource/mappers/PersonMapper.java
Normal file
106
src/main/java/com/jsh/erp/datasource/mappers/PersonMapper.java
Normal file
@@ -0,0 +1,106 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user