refactor code
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
package com.peanut.modules.book.dao;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.book.entity.BookClockinCommentEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookClockinCommentDao extends MPJBaseMapper<BookClockinCommentEntity> {
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.peanut.modules.book.dao;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.book.entity.BookClockInEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookClockinDao extends MPJBaseMapper<BookClockInEntity> {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package com.peanut.modules.book.dao;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.book.entity.BookClockinPunchEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookClockinPunchDao extends MPJBaseMapper<BookClockinPunchEntity> {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.peanut.modules.book.dao;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.peanut.modules.book.entity.ExpressCompany;
|
||||
import com.peanut.modules.book.vo.ExpressCompanyVo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 快递公司持久层接口
|
||||
* @Author: Cauchy
|
||||
* @CreateTime: 2023/10/16
|
||||
*/
|
||||
@Mapper
|
||||
public interface ExpressCompanyDao extends BaseMapper<ExpressCompany> {
|
||||
List<ExpressCompanyVo> getExpressCompanyList();
|
||||
}
|
||||
@@ -1,9 +1,10 @@
|
||||
package com.peanut.modules.book.dao;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.peanut.modules.book.entity.BookTaskEntity;
|
||||
import com.peanut.modules.book.entity.ExpressFee;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookTaskDao extends BaseMapper<BookTaskEntity> {
|
||||
public interface ExpressFeeDao extends BaseMapper<ExpressFee> {
|
||||
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
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);
|
||||
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
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);
|
||||
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@@ -8,7 +8,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* 商品表
|
||||
*
|
||||
*
|
||||
* @author yl
|
||||
* @email yl328572838@163.com
|
||||
* @date 2022-10-28 09:43:14
|
||||
@@ -17,5 +17,7 @@ import java.util.List;
|
||||
public interface ShopProductDao extends BaseMapper<ShopProductEntity> {
|
||||
|
||||
List<ShopProductEntity> appGetCategoryList(Integer catId);
|
||||
|
||||
|
||||
int getTotalWeight(List<Integer> productIdList);
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.peanut.modules.book.dao;
|
||||
|
||||
import com.peanut.modules.book.entity.UserAddressEntity;
|
||||
import com.peanut.modules.book.entity.UserAddress;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Mapper;
|
||||
* @date 2022-10-31 11:20:32
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserAddressDao extends BaseMapper<UserAddressEntity> {
|
||||
public interface UserAddressDao extends BaseMapper<UserAddress> {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user