From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java | 82 ++++++++++++++++++++++++++++++++--------- 1 files changed, 64 insertions(+), 18 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java index 36de114..e1c7992 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java @@ -1,18 +1,64 @@ -package com.yeshi.fanli.dao.mybatis; - -import java.util.List; - -import com.yeshi.fanli.entity.bus.clazz.GoodsClass; -import com.yeshi.fanli.entity.bus.clazz.GoodsSubClass; - -public interface GoodsClassMapper { - - String getKwById(Long id); - - GoodsClass selectByPrimaryKey(Long id); - - // 鏌ヨ鎵�鏈� - List<GoodsClass> queryAll(); - - int updateByPrimaryKeySelective(GoodsClass record); -} +package com.yeshi.fanli.dao.mybatis; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +import com.yeshi.fanli.dao.BaseMapper; +import com.yeshi.fanli.entity.bus.clazz.GoodsClass; + +public interface GoodsClassMapper extends BaseMapper<GoodsClass>{ + + /** + * 鏌ヨ鎼滅储鍏抽敭璇� + * @param id + * @return + */ + String getKeysById(Long id); + + + /** + * 鏍规嵁鍚嶇О妯$硦鎼滅储 + * @param id + * @return + */ + List<GoodsClass> listByName(@Param("start") long start, @Param("count") int count, @Param("name")String name); + + + /** + * 鏍规嵁鍚嶇О妯$硦鎼滅储 + * @param id + * @return + */ + int countByName(@Param("name")String name, @Param("systemId")Long systemId); + + /** + * 鏍规嵁绯荤粺id鏌ヨ鍒嗙被 + * @param systemId + * @return + */ + List<GoodsClass> listGoodsClassBySystemId(@Param("systemId") Long systemId); + + /** + * 鏍规嵁鎺掑簭鏌ヨ + * @param orderby + * @return + */ + GoodsClass getByAdjoinOrder(@Param("order") Integer order, @Param("type") Integer type); + + + List<GoodsClass> getGoodsClassAll(@Param("sex")Integer sex); + + /** + * 鑾峰彇鏈�澶ф帓搴忓�� + * @return + */ + int getMaxOrder(); + + /** + * 鑾峰彇鏈夋晥鍒嗙被 + * @return + */ + List<GoodsClass> getEffectiveClass(); + +} -- Gitblit v1.8.0