替换函数部分

dev
zhoushen 9 months ago
parent 609ccc4612
commit b3eb3a97ff

@ -1,30 +1,32 @@
package com.macro.mall.mapper;
package com.macro.mall.mapper; // 定义了该接口所属的包名用于Java的包管理
import com.macro.mall.model.PmsProductFullReduction;
import com.macro.mall.model.PmsProductFullReductionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.macro.mall.model.PmsProductFullReduction; // 导入了PmsProductFullReduction实体类用于数据库表的映射
import com.macro.mall.model.PmsProductFullReductionExample; // 导入了PmsProductFullReductionExample类用于构建查询条件
import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsProductFullReductionMapper {
long countByExample(PmsProductFullReductionExample example);
public interface PmsProductFullReductionMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
// 以下方法都是MyBatis映射的方法用于数据库的CRUD操作
int deleteByExample(PmsProductFullReductionExample example);
long countByExample(PmsProductFullReductionExample example); // 根据example条件统计记录数
int deleteByPrimaryKey(Long id);
int deleteByExample(PmsProductFullReductionExample example); // 根据example条件删除记录
int insert(PmsProductFullReduction record);
int deleteByPrimaryKey(Long id); // 根据主键id删除记录
int insertSelective(PmsProductFullReduction record);
int insert(PmsProductFullReduction record); // 插入一条PmsProductFullReduction记录
List<PmsProductFullReduction> selectByExample(PmsProductFullReductionExample example);
int insertSelective(PmsProductFullReduction record); // 插入一条PmsProductFullReduction记录只插入不为null的字段
PmsProductFullReduction selectByPrimaryKey(Long id);
List<PmsProductFullReduction> selectByExample(PmsProductFullReductionExample example); // 根据example条件查询PmsProductFullReduction记录
int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example);
PmsProductFullReduction selectByPrimaryKey(Long id); // 根据主键id查询PmsProductFullReduction记录
int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example);
int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); // 根据example条件更新PmsProductFullReduction记录只更新不为null的字段
int updateByPrimaryKeySelective(PmsProductFullReduction record);
int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); // 根据example条件更新PmsProductFullReduction记录
int updateByPrimaryKey(PmsProductFullReduction record);
int updateByPrimaryKeySelective(PmsProductFullReduction record); // 根据主键id更新PmsProductFullReduction记录只更新不为null的字段
int updateByPrimaryKey(PmsProductFullReduction record); // 根据主键id更新PmsProductFullReduction记录
}

@ -1,30 +1,32 @@
package com.macro.mall.mapper;
package com.macro.mall.mapper; // 定义了该接口所属的包名用于Java的包管理
import com.macro.mall.model.PmsProductLadder;
import com.macro.mall.model.PmsProductLadderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.macro.mall.model.PmsProductLadder; // 导入了PmsProductLadder实体类用于数据库表的映射
import com.macro.mall.model.PmsProductLadderExample; // 导入了PmsProductLadderExample类用于构建查询条件
import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsProductLadderMapper {
long countByExample(PmsProductLadderExample example);
public interface PmsProductLadderMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
// 以下方法都是MyBatis映射的方法用于数据库的CRUD操作
int deleteByExample(PmsProductLadderExample example);
long countByExample(PmsProductLadderExample example); // 根据example条件统计记录数
int deleteByPrimaryKey(Long id);
int deleteByExample(PmsProductLadderExample example); // 根据example条件删除记录
int insert(PmsProductLadder record);
int deleteByPrimaryKey(Long id); // 根据主键id删除记录
int insertSelective(PmsProductLadder record);
int insert(PmsProductLadder record); // 插入一条PmsProductLadder记录
List<PmsProductLadder> selectByExample(PmsProductLadderExample example);
int insertSelective(PmsProductLadder record); // 插入一条PmsProductLadder记录只插入不为null的字段
PmsProductLadder selectByPrimaryKey(Long id);
List<PmsProductLadder> selectByExample(PmsProductLadderExample example); // 根据example条件查询PmsProductLadder记录
int updateByExampleSelective(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example);
PmsProductLadder selectByPrimaryKey(Long id); // 根据主键id查询PmsProductLadder记录
int updateByExample(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example);
int updateByExampleSelective(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); // 根据example条件更新PmsProductLadder记录只更新不为null的字段
int updateByPrimaryKeySelective(PmsProductLadder record);
int updateByExample(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); // 根据example条件更新PmsProductLadder记录
int updateByPrimaryKey(PmsProductLadder record);
int updateByPrimaryKeySelective(PmsProductLadder record); // 根据主键id更新PmsProductLadder记录只更新不为null的字段
int updateByPrimaryKey(PmsProductLadder record); // 根据主键id更新PmsProductLadder记录
}

@ -1,36 +1,38 @@
package com.macro.mall.mapper;
package com.macro.mall.mapper; // 定义了该接口所属的包名用于Java的包管理
import com.macro.mall.model.PmsProduct;
import com.macro.mall.model.PmsProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.macro.mall.model.PmsProduct; // 导入了PmsProduct实体类用于数据库表的映射
import com.macro.mall.model.PmsProductExample; // 导入了PmsProductExample类用于构建查询条件
import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsProductMapper {
long countByExample(PmsProductExample example);
public interface PmsProductMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
// 以下方法都是MyBatis映射的方法用于数据库的CRUD操作
int deleteByExample(PmsProductExample example);
long countByExample(PmsProductExample example); // 根据example条件统计记录数
int deleteByPrimaryKey(Long id);
int deleteByExample(PmsProductExample example); // 根据example条件删除记录
int insert(PmsProduct record);
int deleteByPrimaryKey(Long id); // 根据主键id删除记录
int insertSelective(PmsProduct record);
int insert(PmsProduct record); // 插入一条PmsProduct记录
List<PmsProduct> selectByExampleWithBLOBs(PmsProductExample example);
int insertSelective(PmsProduct record); // 插入一条PmsProduct记录只插入不为null的字段
List<PmsProduct> selectByExample(PmsProductExample example);
List<PmsProduct> selectByExampleWithBLOBs(PmsProductExample example); // 根据example条件查询PmsProduct记录包括BLOB字段
PmsProduct selectByPrimaryKey(Long id);
List<PmsProduct> selectByExample(PmsProductExample example); // 根据example条件查询PmsProduct记录不包括BLOB字段
int updateByExampleSelective(@Param("record") PmsProduct record, @Param("example") PmsProductExample example);
PmsProduct selectByPrimaryKey(Long id); // 根据主键id查询PmsProduct记录
int updateByExampleWithBLOBs(@Param("record") PmsProduct record, @Param("example") PmsProductExample example);
int updateByExampleSelective(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); // 根据example条件更新PmsProduct记录只更新不为null的字段
int updateByExample(@Param("record") PmsProduct record, @Param("example") PmsProductExample example);
int updateByExampleWithBLOBs(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); // 根据example条件更新PmsProduct记录包括BLOB字段
int updateByPrimaryKeySelective(PmsProduct record);
int updateByExample(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); // 根据example条件更新PmsProduct记录
int updateByPrimaryKeyWithBLOBs(PmsProduct record);
int updateByPrimaryKeySelective(PmsProduct record); // 根据主键id更新PmsProduct记录只更新不为null的字段
int updateByPrimaryKey(PmsProduct record);
int updateByPrimaryKeyWithBLOBs(PmsProduct record); // 根据主键id更新PmsProduct记录包括BLOB字段
int updateByPrimaryKey(PmsProduct record); // 根据主键id更新PmsProduct记录
}

@ -1,30 +1,32 @@
package com.macro.mall.mapper;
package com.macro.mall.mapper; // 定义了该接口所属的包名用于Java的包管理
import com.macro.mall.model.PmsProductOperateLog;
import com.macro.mall.model.PmsProductOperateLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.macro.mall.model.PmsProductOperateLog; // 导入了PmsProductOperateLog实体类用于数据库表的映射
import com.macro.mall.model.PmsProductOperateLogExample; // 导入了PmsProductOperateLogExample类用于构建查询条件
import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsProductOperateLogMapper {
long countByExample(PmsProductOperateLogExample example);
public interface PmsProductOperateLogMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
// 以下方法都是MyBatis映射的方法用于数据库的CRUD操作
int deleteByExample(PmsProductOperateLogExample example);
long countByExample(PmsProductOperateLogExample example); // 根据example条件统计记录数
int deleteByPrimaryKey(Long id);
int deleteByExample(PmsProductOperateLogExample example); // 根据example条件删除记录
int insert(PmsProductOperateLog record);
int deleteByPrimaryKey(Long id); // 根据主键id删除记录
int insertSelective(PmsProductOperateLog record);
int insert(PmsProductOperateLog record); // 插入一条PmsProductOperateLog记录
List<PmsProductOperateLog> selectByExample(PmsProductOperateLogExample example);
int insertSelective(PmsProductOperateLog record); // 插入一条PmsProductOperateLog记录只插入不为null的字段
PmsProductOperateLog selectByPrimaryKey(Long id);
List<PmsProductOperateLog> selectByExample(PmsProductOperateLogExample example); // 根据example条件查询PmsProductOperateLog记录
int updateByExampleSelective(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example);
PmsProductOperateLog selectByPrimaryKey(Long id); // 根据主键id查询PmsProductOperateLog记录
int updateByExample(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example);
int updateByExampleSelective(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); // 根据example条件更新PmsProductOperateLog记录只更新不为null的字段
int updateByPrimaryKeySelective(PmsProductOperateLog record);
int updateByExample(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); // 根据example条件更新PmsProductOperateLog记录
int updateByPrimaryKey(PmsProductOperateLog record);
int updateByPrimaryKeySelective(PmsProductOperateLog record); // 根据主键id更新PmsProductOperateLog记录只更新不为null的字段
int updateByPrimaryKey(PmsProductOperateLog record); // 根据主键id更新PmsProductOperateLog记录
}

@ -1,30 +1,32 @@
package com.macro.mall.mapper;
package com.macro.mall.mapper; // 定义了该接口所属的包名用于Java的包管理
import com.macro.mall.model.PmsProductVertifyRecord;
import com.macro.mall.model.PmsProductVertifyRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.macro.mall.model.PmsProductVertifyRecord; // 导入了PmsProductVertifyRecord实体类用于数据库表的映射
import com.macro.mall.model.PmsProductVertifyRecordExample; // 导入了PmsProductVertifyRecordExample类用于构建查询条件
import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsProductVertifyRecordMapper {
long countByExample(PmsProductVertifyRecordExample example);
public interface PmsProductVertifyRecordMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
// 以下方法都是MyBatis映射的方法用于数据库的CRUD操作
int deleteByExample(PmsProductVertifyRecordExample example);
long countByExample(PmsProductVertifyRecordExample example); // 根据example条件统计记录数
int deleteByPrimaryKey(Long id);
int deleteByExample(PmsProductVertifyRecordExample example); // 根据example条件删除记录
int insert(PmsProductVertifyRecord record);
int deleteByPrimaryKey(Long id); // 根据主键id删除记录
int insertSelective(PmsProductVertifyRecord record);
int insert(PmsProductVertifyRecord record); // 插入一条PmsProductVertifyRecord记录
List<PmsProductVertifyRecord> selectByExample(PmsProductVertifyRecordExample example);
int insertSelective(PmsProductVertifyRecord record); // 插入一条PmsProductVertifyRecord记录只插入不为null的字段
PmsProductVertifyRecord selectByPrimaryKey(Long id);
List<PmsProductVertifyRecord> selectByExample(PmsProductVertifyRecordExample example); // 根据example条件查询PmsProductVertifyRecord记录
int updateByExampleSelective(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example);
PmsProductVertifyRecord selectByPrimaryKey(Long id); // 根据主键id查询PmsProductVertifyRecord记录
int updateByExample(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example);
int updateByExampleSelective(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); // 根据example条件更新PmsProductVertifyRecord记录只更新不为null的字段
int updateByPrimaryKeySelective(PmsProductVertifyRecord record);
int updateByExample(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); // 根据example条件更新PmsProductVertifyRecord记录
int updateByPrimaryKey(PmsProductVertifyRecord record);
int updateByPrimaryKeySelective(PmsProductVertifyRecord record); // 根据主键id更新PmsProductVertifyRecord记录只更新不为null的字段
int updateByPrimaryKey(PmsProductVertifyRecord record); // 根据主键id更新PmsProductVertifyRecord记录
}
Loading…
Cancel
Save