替换函数部分

dev
zhoushen 1 year ago
parent 78d499b933
commit f321bcbbad

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

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

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

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

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

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

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

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

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