refactor project
This commit is contained in:
@@ -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> {
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user