diff --git a/PingjiaMapper.java b/PingjiaMapper.java new file mode 100644 index 0000000..584d605 --- /dev/null +++ b/PingjiaMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Pingjia; +import com.entity.PingjiaExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName PingjiaMapper + * @Description 评论模块数据持久层 + */ +public interface PingjiaMapper { + + //根据条件获取评论表pingjia的数据数量 + int countByExample(PingjiaExample example); + + //根据条件删除评论表pingjia的数据 + int deleteByExample(PingjiaExample example); + + //根据主键ID列删除评论表pingjia的数据 + int deleteByPrimaryKey(Integer id); + + //插入评论表pingjia的实体数据(包含null值) + int insert(Pingjia record); + + //插入评论表pingjia的实体数据(不包含null值) + int insertSelective(Pingjia record); + + //根据条件获取评论表pingjia的数据列表 + List selectByExample(PingjiaExample example); + + //根据主键ID列获取评论表pingjia的数据实体 + Pingjia selectByPrimaryKey(Integer id); + + //根据条件更新评论表pingjia的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Pingjia record, @Param("example") PingjiaExample example); + + //根据条件更新评论表pingjia的实体数据(包含null值) + int updateByExample(@Param("record") Pingjia record, @Param("example") PingjiaExample example); + + //根据主键ID列更新评论表pingjia的实体数据(不包含null值) + int updateByPrimaryKeySelective(Pingjia record); + + //根据主键ID列更新评论表pingjia的实体数据(包含null值) + int updateByPrimaryKey(Pingjia record); +} diff --git a/PinleiMapper.java b/PinleiMapper.java new file mode 100644 index 0000000..1ac6aea --- /dev/null +++ b/PinleiMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Pinlei; +import com.entity.PinleiExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName PinleiMapper + * @Description 分类模块数据持久层 + */ +public interface PinleiMapper { + + //根据条件获取分类表pinlei的数据数量 + int countByExample(PinleiExample example); + + //根据条件删除分类表pinlei的数据 + int deleteByExample(PinleiExample example); + + //根据主键ID列删除分类表pinlei的数据 + int deleteByPrimaryKey(Integer id); + + //插入分类表pinlei的实体数据(包含null值) + int insert(Pinlei record); + + //插入分类表pinlei的实体数据(不包含null值) + int insertSelective(Pinlei record); + + //根据条件获取分类表pinlei的数据列表 + List selectByExample(PinleiExample example); + + //根据主键ID列获取分类表pinlei的数据实体 + Pinlei selectByPrimaryKey(Integer id); + + //根据条件更新分类表pinlei的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Pinlei record, @Param("example") PinleiExample example); + + //根据条件更新分类表pinlei的实体数据(包含null值) + int updateByExample(@Param("record") Pinlei record, @Param("example") PinleiExample example); + + //根据主键ID列更新分类表pinlei的实体数据(不包含null值) + int updateByPrimaryKeySelective(Pinlei record); + + //根据主键ID列更新分类表pinlei的实体数据(包含null值) + int updateByPrimaryKey(Pinlei record); +} diff --git a/ShangpinMapper.java b/ShangpinMapper.java new file mode 100644 index 0000000..d7ebdfb --- /dev/null +++ b/ShangpinMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Shangpin; +import com.entity.ShangpinExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName ShangpinMapper + * @Description 零食模块数据持久层 + */ +public interface ShangpinMapper { + + //根据条件获取零食表shangpin的数据数量 + int countByExample(ShangpinExample example); + + //根据条件删除零食表shangpin的数据 + int deleteByExample(ShangpinExample example); + + //根据主键ID列删除零食表shangpin的数据 + int deleteByPrimaryKey(Integer id); + + //插入零食表shangpin的实体数据(包含null值) + int insert(Shangpin record); + + //插入零食表shangpin的实体数据(不包含null值) + int insertSelective(Shangpin record); + + //根据条件获取零食表shangpin的数据列表 + List selectByExample(ShangpinExample example); + + //根据主键ID列获取零食表shangpin的数据实体 + Shangpin selectByPrimaryKey(Integer id); + + //根据条件更新零食表shangpin的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Shangpin record, @Param("example") ShangpinExample example); + + //根据条件更新零食表shangpin的实体数据(包含null值) + int updateByExample(@Param("record") Shangpin record, @Param("example") ShangpinExample example); + + //根据主键ID列更新零食表shangpin的实体数据(不包含null值) + int updateByPrimaryKeySelective(Shangpin record); + + //根据主键ID列更新零食表shangpin的实体数据(包含null值) + int updateByPrimaryKey(Shangpin record); +} diff --git a/ShenqingMapper.java b/ShenqingMapper.java new file mode 100644 index 0000000..565e132 --- /dev/null +++ b/ShenqingMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Shenqing; +import com.entity.ShenqingExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName ShenqingMapper + * @Description 售后申请模块数据持久层 + */ +public interface ShenqingMapper { + + //根据条件获取售后申请表shenqing的数据数量 + int countByExample(ShenqingExample example); + + //根据条件删除售后申请表shenqing的数据 + int deleteByExample(ShenqingExample example); + + //根据主键ID列删除售后申请表shenqing的数据 + int deleteByPrimaryKey(Integer id); + + //插入售后申请表shenqing的实体数据(包含null值) + int insert(Shenqing record); + + //插入售后申请表shenqing的实体数据(不包含null值) + int insertSelective(Shenqing record); + + //根据条件获取售后申请表shenqing的数据列表 + List selectByExample(ShenqingExample example); + + //根据主键ID列获取售后申请表shenqing的数据实体 + Shenqing selectByPrimaryKey(Integer id); + + //根据条件更新售后申请表shenqing的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Shenqing record, @Param("example") ShenqingExample example); + + //根据条件更新售后申请表shenqing的实体数据(包含null值) + int updateByExample(@Param("record") Shenqing record, @Param("example") ShenqingExample example); + + //根据主键ID列更新售后申请表shenqing的实体数据(不包含null值) + int updateByPrimaryKeySelective(Shenqing record); + + //根据主键ID列更新售后申请表shenqing的实体数据(包含null值) + int updateByPrimaryKey(Shenqing record); +} diff --git a/ShoucangMapper.java b/ShoucangMapper.java new file mode 100644 index 0000000..2a34884 --- /dev/null +++ b/ShoucangMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Shoucang; +import com.entity.ShoucangExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName ShoucangMapper + * @Description 收藏模块数据持久层 + */ +public interface ShoucangMapper { + + //根据条件获取收藏表shoucang的数据数量 + int countByExample(ShoucangExample example); + + //根据条件删除收藏表shoucang的数据 + int deleteByExample(ShoucangExample example); + + //根据主键ID列删除收藏表shoucang的数据 + int deleteByPrimaryKey(Integer id); + + //插入收藏表shoucang的实体数据(包含null值) + int insert(Shoucang record); + + //插入收藏表shoucang的实体数据(不包含null值) + int insertSelective(Shoucang record); + + //根据条件获取收藏表shoucang的数据列表 + List selectByExample(ShoucangExample example); + + //根据主键ID列获取收藏表shoucang的数据实体 + Shoucang selectByPrimaryKey(Integer id); + + //根据条件更新收藏表shoucang的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Shoucang record, @Param("example") ShoucangExample example); + + //根据条件更新收藏表shoucang的实体数据(包含null值) + int updateByExample(@Param("record") Shoucang record, @Param("example") ShoucangExample example); + + //根据主键ID列更新收藏表shoucang的实体数据(不包含null值) + int updateByPrimaryKeySelective(Shoucang record); + + //根据主键ID列更新收藏表shoucang的实体数据(包含null值) + int updateByPrimaryKey(Shoucang record); +} diff --git a/UsersMapper.java b/UsersMapper.java new file mode 100644 index 0000000..63b2f9e --- /dev/null +++ b/UsersMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Users; +import com.entity.UsersExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName UsersMapper + * @Description 用户模块数据持久层 + */ +public interface UsersMapper { + + //根据条件获取用户表users的数据数量 + int countByExample(UsersExample example); + + //根据条件删除用户表users的数据 + int deleteByExample(UsersExample example); + + //根据主键ID列删除用户表users的数据 + int deleteByPrimaryKey(Integer id); + + //插入用户表users的实体数据(包含null值) + int insert(Users record); + + //插入用户表users的实体数据(不包含null值) + int insertSelective(Users record); + + //根据条件获取用户表users的数据列表 + List selectByExample(UsersExample example); + + //根据主键ID列获取用户表users的数据实体 + Users selectByPrimaryKey(Integer id); + + //根据条件更新用户表users的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Users record, @Param("example") UsersExample example); + + //根据条件更新用户表users的实体数据(包含null值) + int updateByExample(@Param("record") Users record, @Param("example") UsersExample example); + + //根据主键ID列更新用户表users的实体数据(不包含null值) + int updateByPrimaryKeySelective(Users record); + + //根据主键ID列更新用户表users的实体数据(包含null值) + int updateByPrimaryKey(Users record); +} diff --git a/XinwenMapper.java b/XinwenMapper.java new file mode 100644 index 0000000..164ca79 --- /dev/null +++ b/XinwenMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Xinwen; +import com.entity.XinwenExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName XinwenMapper + * @Description 新闻模块数据持久层 + */ +public interface XinwenMapper { + + //根据条件获取新闻表xinwen的数据数量 + int countByExample(XinwenExample example); + + //根据条件删除新闻表xinwen的数据 + int deleteByExample(XinwenExample example); + + //根据主键ID列删除新闻表xinwen的数据 + int deleteByPrimaryKey(Integer id); + + //插入新闻表xinwen的实体数据(包含null值) + int insert(Xinwen record); + + //插入新闻表xinwen的实体数据(不包含null值) + int insertSelective(Xinwen record); + + //根据条件获取新闻表xinwen的数据列表 + List selectByExample(XinwenExample example); + + //根据主键ID列获取新闻表xinwen的数据实体 + Xinwen selectByPrimaryKey(Integer id); + + //根据条件更新新闻表xinwen的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Xinwen record, @Param("example") XinwenExample example); + + //根据条件更新新闻表xinwen的实体数据(包含null值) + int updateByExample(@Param("record") Xinwen record, @Param("example") XinwenExample example); + + //根据主键ID列更新新闻表xinwen的实体数据(不包含null值) + int updateByPrimaryKeySelective(Xinwen record); + + //根据主键ID列更新新闻表xinwen的实体数据(包含null值) + int updateByPrimaryKey(Xinwen record); +} diff --git a/ZhifufangshiMapper.java b/ZhifufangshiMapper.java new file mode 100644 index 0000000..092aeae --- /dev/null +++ b/ZhifufangshiMapper.java @@ -0,0 +1,47 @@ +package com.dao; + +import com.entity.Zhifufangshi; +import com.entity.ZhifufangshiExample; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * @ClassName ZhifufangshiMapper + * @Description 支付方式模块数据持久层 + */ +public interface ZhifufangshiMapper { + + //根据条件获取支付方式表zhifufangshi的数据数量 + int countByExample(ZhifufangshiExample example); + + //根据条件删除支付方式表zhifufangshi的数据 + int deleteByExample(ZhifufangshiExample example); + + //根据主键ID列删除支付方式表zhifufangshi的数据 + int deleteByPrimaryKey(Integer id); + + //插入支付方式表zhifufangshi的实体数据(包含null值) + int insert(Zhifufangshi record); + + //插入支付方式表zhifufangshi的实体数据(不包含null值) + int insertSelective(Zhifufangshi record); + + //根据条件获取支付方式表zhifufangshi的数据列表 + List selectByExample(ZhifufangshiExample example); + + //根据主键ID列获取支付方式表zhifufangshi的数据实体 + Zhifufangshi selectByPrimaryKey(Integer id); + + //根据条件更新支付方式表zhifufangshi的实体数据(不包含null值) + int updateByExampleSelective(@Param("record") Zhifufangshi record, @Param("example") ZhifufangshiExample example); + + //根据条件更新支付方式表zhifufangshi的实体数据(包含null值) + int updateByExample(@Param("record") Zhifufangshi record, @Param("example") ZhifufangshiExample example); + + //根据主键ID列更新支付方式表zhifufangshi的实体数据(不包含null值) + int updateByPrimaryKeySelective(Zhifufangshi record); + + //根据主键ID列更新支付方式表zhifufangshi的实体数据(包含null值) + int updateByPrimaryKey(Zhifufangshi record); +}