first commit

This commit is contained in:
cys841515238
2023-03-02 16:13:28 +08:00
commit 2733a60b97
741 changed files with 76931 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package com.peanut.modules.book.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.ActivityEntity;
import com.peanut.modules.book.entity.BuyOrderEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* 订单表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface ActivityDao extends BaseMapper<ActivityEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.AuthorEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 作者表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-04 15:36:59
*/
@Mapper
public interface AuthorDao extends BaseMapper<AuthorEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BookBrowseRecordsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 阅读记录
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface BookBrowseRecordsDao extends BaseMapper<BookBrowseRecordsEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BookBuyConfigEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-17 14:54:08
*/
@Mapper
public interface BookBuyConfigDao extends BaseMapper<BookBuyConfigEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BookChapterContentEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-16 14:32:06
*/
@Mapper
public interface BookChapterContentDao extends BaseMapper<BookChapterContentEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BookChapterEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-12 09:53:25
*/
@Mapper
public interface BookChapterDao extends BaseMapper<BookChapterEntity> {
}

View File

@@ -0,0 +1,22 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BookEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* 图书表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-04 15:36:59
*/
@Mapper
public interface BookDao extends BaseMapper<BookEntity> {
List<BookEntity> queryBookInOther(String publisherName,String authorName);
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BookReadRateEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 阅读进度表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface BookReadRateDao extends BaseMapper<BookReadRateEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BookShelfEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 书架表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface BookShelfDao extends BaseMapper<BookShelfEntity> {
}

View File

@@ -0,0 +1,23 @@
package com.peanut.modules.book.dao;
import com.alibaba.fastjson.JSONObject;
import com.peanut.modules.book.entity.BuyOrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.poi.ss.formula.functions.T;
import java.util.List;
/**
* 订单表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface BuyOrderDao extends BaseMapper<BuyOrderEntity> {
public List<BuyOrderEntity> queryListByOrderIds(Integer[] ids);
}

View File

@@ -0,0 +1,21 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.BuyOrderDetailEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* 商品订单详情表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface BuyOrderDetailDao extends BaseMapper<BuyOrderDetailEntity> {
public List<BuyOrderDetailEntity> queryListByOrderIds(Integer[] ids);
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.CityEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 市
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-27 16:07:59
*/
@Mapper
public interface CityDao extends BaseMapper<CityEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.CountyEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 县/区
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-27 16:07:59
*/
@Mapper
public interface CountyDao extends BaseMapper<CountyEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.CouponEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Mapper
public interface CouponDao extends BaseMapper<CouponEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.CouponHistoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Mapper
public interface CouponHistoryDao extends BaseMapper<CouponHistoryEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.CouponProductCategoryRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Mapper
public interface CouponProductCategoryRelationDao extends BaseMapper<CouponProductCategoryRelationEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.CouponProductRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Mapper
public interface CouponProductRelationDao extends BaseMapper<CouponProductRelationEntity> {
}

View File

@@ -0,0 +1,28 @@
package com.peanut.modules.book.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.FMSCommodity;
import com.peanut.modules.book.entity.FMSOrderEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* 快递发货
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface FMSCommodityDao extends BaseMapper<FMSCommodity> {
/**
* 批量保存快递信息
*
* @param fmsOrderList
* @return
*/
public int batchInsert(List<FMSCommodity> fmsOrderList);
}

View File

@@ -0,0 +1,28 @@
package com.peanut.modules.book.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.BuyOrderEntity;
import com.peanut.modules.book.entity.FMSOrderEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* 快递发货
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface FMSOrderDao extends BaseMapper<FMSOrderEntity> {
/**
* 批量保存快递信息
*
* @param fmsOrderList
* @return
*/
public int batchInsert(List<FMSOrderEntity> fmsOrderList);
}

View File

@@ -0,0 +1,11 @@
package com.peanut.modules.book.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.FMSOrderDetailEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface FMSOrderDetailDao extends BaseMapper<FMSOrderDetailEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.MyUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-10 14:20:12
*/
@Mapper
public interface MyUserDao extends BaseMapper<MyUserEntity> {
}

View File

@@ -0,0 +1,19 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.OrderCartEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 购物车
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface OrderCartDao extends BaseMapper<OrderCartEntity> {
OrderCartEntity getDeteleOrderCart(Integer userId,Integer productId);
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.PayPaymentOrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 充值订单表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface PayPaymentOrderDao extends BaseMapper<PayPaymentOrderEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.PayZfbOrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 支付宝订单表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Mapper
public interface PayZfbOrderDao extends BaseMapper<PayZfbOrderEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.ProvinceEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 省
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-27 16:07:59
*/
@Mapper
public interface ProvinceDao extends BaseMapper<ProvinceEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.PublisherEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 出版商表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-04 15:36:59
*/
@Mapper
public interface PublisherDao extends BaseMapper<PublisherEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.SeckillProdRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 秒杀商品表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 11:24:05
*/
@Mapper
public interface SeckillProdRelationDao extends BaseMapper<SeckillProdRelationEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.ShopCategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品三级分类
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-30 15:06:20
*/
@Mapper
public interface ShopCategoryDao extends BaseMapper<ShopCategoryEntity> {
}

View File

@@ -0,0 +1,21 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.ShopProductEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* 商品表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 09:43:14
*/
@Mapper
public interface ShopProductDao extends BaseMapper<ShopProductEntity> {
List<ShopProductEntity> appGetCategoryList(Integer catId);
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.ShopSeckillEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 秒杀库存表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 11:24:05
*/
@Mapper
public interface ShopSeckillDao extends BaseMapper<ShopSeckillEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.TransactionDetailsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 交易明细
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:47:50
*/
@Mapper
public interface TransactionDetailsDao extends BaseMapper<TransactionDetailsEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.UserAddressEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-31 11:20:32
*/
@Mapper
public interface UserAddressDao extends BaseMapper<UserAddressEntity> {
}

View File

@@ -0,0 +1,17 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.UserEbookBuyEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 用户购买书籍表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-18 16:28:20
*/
@Mapper
public interface UserEbookBuyDao extends BaseMapper<UserEbookBuyEntity> {
}