替换函数部分

dev
zhoushen 9 months ago
parent 724a8ff3d3
commit b9ac0e0c91

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

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

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

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

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

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

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

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

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

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

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

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

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