refactor project

This commit is contained in:
Cauchy
2023-10-19 15:04:31 +08:00
parent 19a2ef58a9
commit 1994ba60ae
35 changed files with 274 additions and 226 deletions

View File

@@ -1,6 +1,6 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.PublisherEntity;
import com.peanut.modules.book.entity.Publisher;
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-08-04 15:36:59
*/
@Mapper
public interface PublisherDao extends BaseMapper<PublisherEntity> {
public interface PublisherDao extends BaseMapper<Publisher> {
}

View File

@@ -1,6 +1,6 @@
package com.peanut.modules.book.dao;
import com.peanut.modules.book.entity.ShopProductEntity;
import com.peanut.modules.book.entity.ShopProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
@@ -14,9 +14,9 @@ import java.util.List;
* @date 2022-10-28 09:43:14
*/
@Mapper
public interface ShopProductDao extends BaseMapper<ShopProductEntity> {
public interface ShopProductDao extends BaseMapper<ShopProduct> {
List<ShopProductEntity> appGetCategoryList(Integer catId);
List<ShopProduct> appGetCategoryList(Integer catId);
int getTotalWeight(List<Integer> productIdList);