Compare commits

...

6 Commits

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

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

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

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

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

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

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

@ -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.CmsTopic; // 导入了CmsTopic实体类用于数据库表的映射
import com.macro.mall.model.CmsTopicExample; import com.macro.mall.model.CmsTopicExample; // 导入了CmsTopicExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface CmsTopicMapper { public interface CmsTopicMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(CmsTopicExample example); // 以下方法都是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.OmsCartItem; // 导入了OmsCartItem实体类用于数据库表的映射
import com.macro.mall.model.OmsCartItemExample; import com.macro.mall.model.OmsCartItemExample; // 导入了OmsCartItemExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsCartItemMapper { public interface OmsCartItemMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsCartItemExample example); // 以下方法都是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.OmsCompanyAddress; // 导入了OmsCompanyAddress实体类用于数据库表的映射
import com.macro.mall.model.OmsCompanyAddressExample; import com.macro.mall.model.OmsCompanyAddressExample; // 导入了OmsCompanyAddressExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsCompanyAddressMapper { public interface OmsCompanyAddressMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsCompanyAddressExample example); // 以下方法都是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.OmsOrderItem; // 导入了OmsOrderItem实体类用于数据库表的映射
import com.macro.mall.model.OmsOrderItemExample; import com.macro.mall.model.OmsOrderItemExample; // 导入了OmsOrderItemExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsOrderItemMapper { public interface OmsOrderItemMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsOrderItemExample example); // 以下方法都是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.OmsOrder; // 导入了OmsOrder实体类用于数据库表的映射
import com.macro.mall.model.OmsOrderExample; import com.macro.mall.model.OmsOrderExample; // 导入了OmsOrderExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsOrderMapper { public interface OmsOrderMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsOrderExample example); // 以下方法都是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.OmsOrderOperateHistory; // 导入了OmsOrderOperateHistory实体类用于数据库表的映射
import com.macro.mall.model.OmsOrderOperateHistoryExample; import com.macro.mall.model.OmsOrderOperateHistoryExample; // 导入了OmsOrderOperateHistoryExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsOrderOperateHistoryMapper { public interface OmsOrderOperateHistoryMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsOrderOperateHistoryExample example); // 以下方法都是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.OmsOrderReturnApply; // 导入了OmsOrderReturnApply实体类用于数据库表的映射
import com.macro.mall.model.OmsOrderReturnApplyExample; import com.macro.mall.model.OmsOrderReturnApplyExample; // 导入了OmsOrderReturnApplyExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsOrderReturnApplyMapper { public interface OmsOrderReturnApplyMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsOrderReturnApplyExample example); // 以下方法都是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.OmsOrderReturnReason; // 导入了OmsOrderReturnReason实体类用于数据库表的映射
import com.macro.mall.model.OmsOrderReturnReasonExample; import com.macro.mall.model.OmsOrderReturnReasonExample; // 导入了OmsOrderReturnReasonExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsOrderReturnReasonMapper { public interface OmsOrderReturnReasonMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsOrderReturnReasonExample example); // 以下方法都是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.OmsOrderSetting; // 导入了OmsOrderSetting实体类用于数据库表的映射
import com.macro.mall.model.OmsOrderSettingExample; import com.macro.mall.model.OmsOrderSettingExample; // 导入了OmsOrderSettingExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface OmsOrderSettingMapper { public interface OmsOrderSettingMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(OmsOrderSettingExample example); // 以下方法都是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.PmsAlbum; // 导入了PmsAlbum实体类用于数据库表的映射
import com.macro.mall.model.PmsAlbumExample; import com.macro.mall.model.PmsAlbumExample; // 导入了PmsAlbumExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsAlbumMapper { public interface PmsAlbumMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(PmsAlbumExample example); // 以下方法都是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.PmsAlbumPic; // 导入了PmsAlbumPic实体类用于数据库表的映射
import com.macro.mall.model.PmsAlbumPicExample; import com.macro.mall.model.PmsAlbumPicExample; // 导入了PmsAlbumPicExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsAlbumPicMapper { public interface PmsAlbumPicMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(PmsAlbumPicExample example); // 以下方法都是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.PmsBrand; // 导入了PmsBrand实体类用于数据库表的映射
import com.macro.mall.model.PmsBrandExample; import com.macro.mall.model.PmsBrandExample; // 导入了PmsBrandExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsBrandMapper { public interface PmsBrandMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(PmsBrandExample example); // 以下方法都是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.PmsComment; // 导入了PmsComment实体类用于数据库表的映射
import com.macro.mall.model.PmsCommentExample; import com.macro.mall.model.PmsCommentExample; // 导入了PmsCommentExample类用于构建查询条件
import java.util.List; import java.util.List; // 导入了List接口用于存储查询结果集
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解用于指定参数名称
public interface PmsCommentMapper { public interface PmsCommentMapper { // 声明了一个MyBatis的Mapper接口用于数据库操作
long countByExample(PmsCommentExample example); // 以下方法都是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