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/service/inter/goods/GoodsSubClassService.java |  265 +++++++++++++++++++++++++++-------------------------
 1 files changed, 136 insertions(+), 129 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java
index 24afea2..602d9cd 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/GoodsSubClassService.java
@@ -1,129 +1,136 @@
-package com.yeshi.fanli.service.inter.goods;
-
-
-import java.util.List;
-
-import org.springframework.web.multipart.MultipartFile;
-
-import com.yeshi.fanli.entity.accept.AcceptData;
-import com.yeshi.fanli.entity.bus.clazz.GoodsSubClass;
-import com.yeshi.fanli.exception.goods.GoodsSubClassException;
-
-
-public interface  GoodsSubClassService {
-	
-	public int deleteByPrimaryKey(Long id);
-
-	public int insert(GoodsSubClass record);
-
-	public int insertSelective(GoodsSubClass record);
-
-	public GoodsSubClass selectByPrimaryKey(Long id);
-
-	public int updateByPrimaryKeySelective(GoodsSubClass record);
-
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * @param recordIds
-	 * @return
-	 */
-	public void deleteByPrimaryKeyBatch(List<String> recordIds) throws Exception ;
-
-
-	/**
-	 * 鍒犻櫎鍥剧墖鏂囦欢  骞舵洿鏂板璞′俊鎭�
-	 * @param record
-	 * @return
-	 * @throws Exception
-	 */
-	public int removePicture(GoodsSubClass record) throws Exception;
-	
-	
-	/**
-	 * 鏌ヨ涓�绾т箣涓嬬殑鎵�鏈変簩绾у垎绫�
-	 * @param rootId  涓�绾d
-	 * @return
-	 * @throws Exception
-	 */
-	public List<GoodsSubClass> queryByRootId(Long rootId, Integer state) throws Exception;
-
-	/**
-	 *  鏌ヨ浜岀骇鍒嗙被涔嬩笅鍏朵粬鍒嗙被
-	 * @param rootId  涓�绾d
-	 * @return
-	 */
-	public List<GoodsSubClass> queryByPid(Long pid, Integer state) throws Exception;
-
-	/**
-	 * 鍒犻櫎绫诲埆 鍚屾椂鍒犻櫎鐩稿簲鎵�鏈夊瓙绫�
-	 * @param recordId
-	 * @throws Exception
-	 */
-	public void deleteSub(Long recordId) throws Exception;
-
-	public void deleteByRootId(Long id) throws Exception;
-
-	
-	/**
-	 * 浜岀骇鍒嗙被
-	 * @param rootId
-	 * @return
-	 * @throws Exception
-	 */
-	public List<GoodsSubClass> getGoodsSecondClass(Long rootId, Integer state,Integer month) throws Exception;
-
-	public List<GoodsSubClass> queryByRootIdAndWeight(Long rootId, int type, int weight) throws Exception;
-
-	public List<GoodsSubClass> queryByPidAndWeight(Long pid, int type, int weight) throws Exception;
-
-	public int countByRootId(Long rootId);
-
-	public int countByPid(Long pid);
-
-
-	/**
-	 * 鑾峰彇浜岀骇鍒嗙被+ 鍔犲叆缂撳瓨
-	 * @param rootId
-	 * @param state
-	 * @return
-	 * @throws Exception
-	 */
-	public List<GoodsSubClass> getSubClassCache(Long rootId, Integer state,Integer month) throws Exception;
-
-	/**
-	 * 缁熻鍓嶇 鐐瑰嚮娆℃暟
-	 * @param acceptData
-	 * @param record
-	 */
-	public void countClick(AcceptData acceptData, GoodsSubClass record);
-
-	
-	/**
-	 * 鏍规嵁id鑾峰彇 + 缂撳瓨
-	 * @param id
-	 * @return
-	 * @throws Exception
-	 */
-	public GoodsSubClass getSubClassByPrimaryKeyCache(Long id) throws Exception;
-
-	/**
-	 * 鏌ヨ涓�绾т笅鐨勫瓙绫�
-	 * @param list
-	 * @return
-	 */
-	public List<GoodsSubClass> queryByListCid(List<Long> list);
-
-	/**
-	 * 淇濆瓨鍒嗙被淇℃伅
-	 * @param file
-	 * @param record
-	 * @param type
-	 * @param pid
-	 * @throws GoodsSubClassException
-	 * @throws Exception
-	 */
-	public void saveObject(MultipartFile file,MultipartFile file2,  GoodsSubClass record, Integer type, Long pid,Long labelId)
-			throws GoodsSubClassException, Exception;
-
-}
+package com.yeshi.fanli.service.inter.goods;
+
+
+import java.util.List;
+
+import org.springframework.web.multipart.MultipartFile;
+
+import com.yeshi.fanli.entity.accept.AcceptData;
+import com.yeshi.fanli.entity.bus.clazz.GoodsSubClass;
+import com.yeshi.fanli.exception.goods.GoodsSubClassException;
+
+
+public interface  GoodsSubClassService {
+	
+	public int deleteByPrimaryKey(Long id);
+
+	public int insert(GoodsSubClass record);
+
+	public int insertSelective(GoodsSubClass record);
+
+	public GoodsSubClass selectByPrimaryKey(Long id);
+
+	public int updateByPrimaryKeySelective(GoodsSubClass record);
+
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param recordIds
+	 * @return
+	 */
+	public void deleteByPrimaryKeyBatch(List<String> recordIds) throws Exception ;
+
+
+	/**
+	 * 鍒犻櫎鍥剧墖鏂囦欢  骞舵洿鏂板璞′俊鎭�
+	 * @param record
+	 * @return
+	 * @throws Exception
+	 */
+	public int removePicture(GoodsSubClass record) throws Exception;
+	
+	
+	/**
+	 * 鏌ヨ涓�绾т箣涓嬬殑鎵�鏈変簩绾у垎绫�
+	 * @param rootId  涓�绾d
+	 * @return
+	 * @throws Exception
+	 */
+	public List<GoodsSubClass> queryByRootId(Long rootId, Integer state) throws Exception;
+
+	/**
+	 *  鏌ヨ浜岀骇鍒嗙被涔嬩笅鍏朵粬鍒嗙被
+	 * @param rootId  涓�绾d
+	 * @return
+	 */
+	public List<GoodsSubClass> queryByPid(Long pid, Integer state) throws Exception;
+
+	/**
+	 * 鍒犻櫎绫诲埆 鍚屾椂鍒犻櫎鐩稿簲鎵�鏈夊瓙绫�
+	 * @param recordId
+	 * @throws Exception
+	 */
+	public void deleteSub(Long recordId) throws Exception;
+
+	public void deleteByRootId(Long id) throws Exception;
+
+	
+	/**
+	 * 浜岀骇鍒嗙被
+	 * @param rootId
+	 * @return
+	 * @throws Exception
+	 */
+	public List<GoodsSubClass> getGoodsSecondClass(Long rootId, Integer state,Integer month) throws Exception;
+
+	public List<GoodsSubClass> queryByRootIdAndWeight(Long rootId, int type, int weight) throws Exception;
+
+	public List<GoodsSubClass> queryByPidAndWeight(Long pid, int type, int weight) throws Exception;
+
+	public int countByRootId(Long rootId);
+
+	public int countByPid(Long pid);
+
+
+	/**
+	 * 鑾峰彇浜岀骇鍒嗙被+ 鍔犲叆缂撳瓨
+	 * @param rootId
+	 * @param state
+	 * @return
+	 * @throws Exception
+	 */
+	public List<GoodsSubClass> getSubClassCache(Long rootId, Integer state,Integer month) throws Exception;
+
+	/**
+	 * 缁熻鍓嶇 鐐瑰嚮娆℃暟
+	 * @param acceptData
+	 * @param record
+	 */
+	public void countClick(AcceptData acceptData, GoodsSubClass record);
+
+	
+	/**
+	 * 鏍规嵁id鑾峰彇 + 缂撳瓨
+	 * @param id
+	 * @return
+	 * @throws Exception
+	 */
+	public GoodsSubClass getSubClassByPrimaryKeyCache(Long id) throws Exception;
+
+	/**
+	 * 鏌ヨ涓�绾т笅鐨勫瓙绫�
+	 * @param list
+	 * @return
+	 */
+	public List<GoodsSubClass> queryByListCid(List<Long> list);
+
+	/**
+	 * 淇濆瓨鍒嗙被淇℃伅
+	 * @param file
+	 * @param record
+	 * @param type
+	 * @param pid
+	 * @throws GoodsSubClassException
+	 * @throws Exception
+	 */
+	public void saveObject(MultipartFile file,MultipartFile file2,  GoodsSubClass record, Integer type, Long pid,Long labelId)
+			throws GoodsSubClassException, Exception;
+
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws GoodsSubClassException
+	 */
+	public void switchState(Long id) throws GoodsSubClassException;
+
+}

--
Gitblit v1.8.0