This commit is contained in:
wangjinlei
2024-03-21 09:45:39 +08:00
parent eb1a5c5f9b
commit 229fd2513b
17 changed files with 26 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.wrapper.MPJLambdaWrapper; import com.github.yulichang.wrapper.MPJLambdaWrapper;
import com.peanut.common.utils.R; import com.peanut.common.utils.R;
import com.peanut.modules.book.entity.*; import com.peanut.modules.common.entity.*;
import com.peanut.modules.book.service.*; import com.peanut.modules.book.service.*;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.service; package com.peanut.modules.book.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.peanut.modules.book.entity.ShopProductBookLabel; import com.peanut.modules.common.entity.ShopProductBookLabel;
import java.util.List; import java.util.List;
public interface ShopProductBookLabelService extends IService<ShopProductBookLabel> { public interface ShopProductBookLabelService extends IService<ShopProductBookLabel> {

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.service; package com.peanut.modules.book.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.peanut.modules.book.entity.ShopProductBookMarket; import com.peanut.modules.common.entity.ShopProductBookMarket;
import java.util.List; import java.util.List;
public interface ShopProductBookMarketService extends IService<ShopProductBookMarket> { public interface ShopProductBookMarketService extends IService<ShopProductBookMarket> {

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.service; package com.peanut.modules.book.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.peanut.modules.book.entity.ShopProductToBookLabel; import com.peanut.modules.common.entity.ShopProductToBookLabel;
public interface ShopProductToBookLabelService extends IService<ShopProductToBookLabel> { public interface ShopProductToBookLabelService extends IService<ShopProductToBookLabel> {
} }

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.service; package com.peanut.modules.book.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.peanut.modules.book.entity.ShopProductToBookMarket; import com.peanut.modules.common.entity.ShopProductToBookMarket;
public interface ShopProductToBookMarketService extends IService<ShopProductToBookMarket> { public interface ShopProductToBookMarketService extends IService<ShopProductToBookMarket> {
} }

View File

@@ -2,8 +2,8 @@ package com.peanut.modules.book.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peanut.modules.book.dao.ShopProductBookLabelDao; import com.peanut.modules.common.dao.ShopProductBookLabelDao;
import com.peanut.modules.book.entity.ShopProductBookLabel; import com.peanut.modules.common.entity.ShopProductBookLabel;
import com.peanut.modules.book.service.ShopProductBookLabelService; import com.peanut.modules.book.service.ShopProductBookLabelService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;

View File

@@ -3,8 +3,8 @@ package com.peanut.modules.book.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peanut.common.utils.R; import com.peanut.common.utils.R;
import com.peanut.modules.book.dao.ShopProductBookMarketDao; import com.peanut.modules.common.dao.ShopProductBookMarketDao;
import com.peanut.modules.book.entity.ShopProductBookMarket; import com.peanut.modules.common.entity.ShopProductBookMarket;
import com.peanut.modules.book.service.ShopProductBookMarketService; import com.peanut.modules.book.service.ShopProductBookMarketService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;

View File

@@ -1,8 +1,8 @@
package com.peanut.modules.book.service.impl; package com.peanut.modules.book.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peanut.modules.book.dao.ShopProductToBookLabelDao; import com.peanut.modules.common.dao.ShopProductToBookLabelDao;
import com.peanut.modules.book.entity.ShopProductToBookLabel; import com.peanut.modules.common.entity.ShopProductToBookLabel;
import com.peanut.modules.book.service.ShopProductToBookLabelService; import com.peanut.modules.book.service.ShopProductToBookLabelService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,8 +1,8 @@
package com.peanut.modules.book.service.impl; package com.peanut.modules.book.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peanut.modules.book.dao.ShopProductToBookMarketDao; import com.peanut.modules.common.dao.ShopProductToBookMarketDao;
import com.peanut.modules.book.entity.ShopProductToBookMarket; import com.peanut.modules.common.entity.ShopProductToBookMarket;
import com.peanut.modules.book.service.ShopProductToBookMarketService; import com.peanut.modules.book.service.ShopProductToBookMarketService;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.dao; package com.peanut.modules.common.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.ShopProductBookLabel; import com.peanut.modules.common.entity.ShopProductBookLabel;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
@Mapper @Mapper

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.dao; package com.peanut.modules.common.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.ShopProductBookMarket; import com.peanut.modules.common.entity.ShopProductBookMarket;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
@Mapper @Mapper

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.dao; package com.peanut.modules.common.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.ShopProductToBookLabel; import com.peanut.modules.common.entity.ShopProductToBookLabel;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
@Mapper @Mapper

View File

@@ -1,7 +1,7 @@
package com.peanut.modules.book.dao; package com.peanut.modules.common.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.modules.book.entity.ShopProductToBookMarket; import com.peanut.modules.common.entity.ShopProductToBookMarket;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
@Mapper @Mapper

View File

@@ -1,4 +1,4 @@
package com.peanut.modules.book.entity; package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;

View File

@@ -1,4 +1,4 @@
package com.peanut.modules.book.entity; package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;

View File

@@ -1,9 +1,10 @@
package com.peanut.modules.book.entity; package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.peanut.modules.common.entity.ShopProductBookLabel;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.peanut.modules.book.entity; package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;