小程序首页接口修改

This commit is contained in:
张松
2025-03-07 13:33:41 +08:00
parent 870a4de2fd
commit f8f46d8f3c
18 changed files with 122 additions and 22 deletions

View File

@@ -1,14 +0,0 @@
package com.czg.service.product.mapper;
import com.mybatisflex.core.BaseMapper;
import com.czg.account.entity.PlatformDict;
/**
* 平台配置 映射层。
*
* @author zs
* @since 2025-02-28
*/
public interface PlatformDictMapper extends BaseMapper<PlatformDict> {
}

View File

@@ -1,14 +0,0 @@
package com.czg.service.product.mapper;
import com.mybatisflex.core.BaseMapper;
import com.czg.account.entity.PlatformDictType;
/**
* 平台配置类型 映射层。
*
* @author zs
* @since 2025-02-28
*/
public interface PlatformDictTypeMapper extends BaseMapper<PlatformDictType> {
}

View File

@@ -1,12 +1,10 @@
package com.czg.service.product.service.impl;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.core.util.StrUtil;
import com.czg.account.entity.PlatformDict;
import com.czg.account.entity.ShopInfo;
import com.czg.account.entity.SysDict;
import com.czg.product.service.HomePageService;
import com.czg.product.service.PlatformDictService;
import com.czg.account.service.PlatformDictService;
import com.czg.product.service.SysDictService;
import com.czg.account.vo.home.BannerInfoVo;
import com.czg.account.vo.home.HomePageVO;
@@ -17,18 +15,15 @@ import com.czg.product.service.ProdSkuService;
import com.czg.product.service.ProductService;
import com.czg.product.vo.RecommendProVO;
import com.czg.service.product.mapper.ProductMapper;
import com.czg.utils.JoinQueryWrapper;
import com.czg.utils.PageUtil;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.query.QueryWrapper;
import jakarta.annotation.Resource;
import org.apache.commons.lang3.StringUtils;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.math.BigDecimal;
import java.util.*;
import java.util.stream.Collectors;
@@ -45,8 +40,9 @@ public class HomePageServiceImpl implements HomePageService {
};
@Resource
@DubboReference
private PlatformDictService platformDictService;
@Resource
private SysDictService sysDictService;
@Resource

View File

@@ -1,18 +0,0 @@
package com.czg.service.product.service.impl;
import com.czg.service.product.mapper.PlatformDictMapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.czg.account.entity.PlatformDict;
import com.czg.product.service.PlatformDictService;
import org.springframework.stereotype.Service;
/**
* 平台配置 服务层实现。
*
* @author zs
* @since 2025-02-28
*/
@Service
public class PlatformDictServiceImpl extends ServiceImpl<PlatformDictMapper, PlatformDict> implements PlatformDictService{
}

View File

@@ -1,18 +0,0 @@
package com.czg.service.product.service.impl;
import com.czg.service.product.mapper.PlatformDictTypeMapper;
import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.czg.account.entity.PlatformDictType;
import com.czg.product.service.PlatformDictTypeService;
import org.springframework.stereotype.Service;
/**
* 平台配置类型 服务层实现。
*
* @author zs
* @since 2025-02-28
*/
@Service
public class PlatformDictTypeServiceImpl extends ServiceImpl<PlatformDictTypeMapper, PlatformDictType> implements PlatformDictTypeService{
}

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.czg.service.product.mapper.PlatformDictMapper">
</mapper>

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.czg.service.product.mapper.PlatformDictTypeMapper">
</mapper>