From 9d35ba657fa5e3add766405d76e3ff8c4dcd4ad4 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 04 七月 2020 15:38:00 +0800 Subject: [PATCH] 多系统兼容优化 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java index 947b2c4..dcfcf2d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassService.java @@ -2,6 +2,7 @@ import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import com.yeshi.fanli.entity.brand.BrandClass; import com.yeshi.fanli.exception.brand.BrandClassException; @@ -17,13 +18,13 @@ * 鏌ヨ鏈夋晥鍒嗙被 * @return */ - public List<BrandClass> listEffective(); + public List<BrandClass> listEffective(SystemEnum system); /** * 鏌ヨ鏈夋晥鍒嗙被 * @return */ - public List<BrandClass> listBrandClassEffectiveCache(); + public List<BrandClass> listBrandClassEffectiveCache(SystemEnum system); /** * 淇濆瓨鍝佺墝淇℃伅 @@ -31,7 +32,7 @@ * @throws BrandClassException * @throws Exception */ - public void saveObject(BrandClass record) throws BrandClassException, Exception; + public void saveObject(BrandClass record,List<SystemEnum> systemList) throws BrandClassException, Exception; /** * 鏌ヨ鍒楄〃 @@ -41,9 +42,9 @@ * @param state * @return */ - public List<BrandClass> listQuery(long start, int count, String key, Integer state); + public List<BrandClass> listQuery(long start, int count, String key, Integer state,SystemEnum system); - public long countQuery(String key, Integer state); + public long countQuery(String key, Integer state,SystemEnum system); /** * 淇敼鎺掑簭 @@ -52,7 +53,7 @@ * @throws BrandClassException * @throws Exception */ - public void updateOrder(Long id, Integer moveType) throws BrandClassException, Exception; + public void updateOrder(Long id, Integer moveType,SystemEnum system) throws BrandClassException, Exception; /** * 鎵归噺鍒犻櫎 @@ -62,6 +63,13 @@ public int deleteBatchByPrimaryKey(List<Long> list); /** + * 鎵归噺鍒犻櫎鏄犲皠 + * @param list + * @param system + */ + public void deleteSystemMapBatch(List<Long> list,SystemEnum system); + + /** * * @param id * @return -- Gitblit v1.8.0