更新后端,采用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.App;
import com.jsh.erp.datasource.entities.AppExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AppMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int countByExample(AppExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int deleteByExample(AppExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int insert(App record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int insertSelective(App record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
List<App> selectByExample(AppExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
App selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int updateByExampleSelective(@Param("record") App record, @Param("example") AppExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int updateByExample(@Param("record") App record, @Param("example") AppExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int updateByPrimaryKeySelective(App record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int updateByPrimaryKey(App record);
List<App> selectByConditionApp(
@Param("name") String name,
@Param("type") String type,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int countsByApp(
@Param("name") String name,
@Param("type") String type);
}