更新后端,采用Springboot+mybatis

This commit is contained in:
季圣华
2018-12-19 23:54:53 +08:00
parent bb6f5528a7
commit 5cc26a22f2
1672 changed files with 52804 additions and 156085 deletions

View 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);
}