@@ -1,112 +1,119 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Supplier;
|
||||
import com.jsh.erp.datasource.entities.SupplierExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SupplierMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int countByExample(SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByExample(SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insert(Supplier record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insertSelective(Supplier record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<Supplier> selectByExample(SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
Supplier selectByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleSelective(@Param("record") Supplier record, @Param("example") SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExample(@Param("record") Supplier record, @Param("example") SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeySelective(Supplier record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Supplier record);
|
||||
|
||||
List<Supplier> selectByConditionSupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsBySupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description);
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Supplier;
|
||||
import com.jsh.erp.datasource.entities.SupplierExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SupplierMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int countByExample(SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByExample(SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insert(Supplier record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insertSelective(Supplier record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<Supplier> selectByExample(SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
Supplier selectByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleSelective(@Param("record") Supplier record, @Param("example") SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExample(@Param("record") Supplier record, @Param("example") SupplierExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeySelective(Supplier record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Supplier record);
|
||||
|
||||
List<Supplier> selectByConditionSupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsBySupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description);
|
||||
|
||||
List<Supplier> findByAll(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description);
|
||||
}
|
||||
Reference in New Issue
Block a user