From d8359ddb48dab5cc797a9d552e11fde571f4920c Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期二, 27 八月 2019 12:32:46 +0800 Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div --- fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SpecialService.java | 88 ++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 81 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SpecialService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SpecialService.java index 69a42b9..a25b6f8 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SpecialService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SpecialService.java @@ -1,6 +1,14 @@ package com.yeshi.fanli.service.inter.homemodule; +import java.util.List; + +import org.springframework.web.multipart.MultipartFile; + +import com.yeshi.fanli.entity.accept.AcceptData; import com.yeshi.fanli.entity.bus.homemodule.Special; +import com.yeshi.fanli.exception.homemodule.SpecialException; + +import net.sf.json.JSONObject; /** * 涓撻 @@ -10,16 +18,82 @@ */ public interface SpecialService { - public int deleteByPrimaryKey(Long id); - - public int insert(Special record); - - public int insertSelective(Special record); public Special selectByPrimaryKey(Long id); - public int updateByPrimaryKeySelective(Special record); - public int updateByPrimaryKey(Special record); + public List<Special> listQueryByCard(long start, int count, Long card, String key, Integer sex); + + public long countlistQueryByCard(Long card, String key, Integer sex); + + + /** + * 鏍规嵁id鎵归噺鍒犻櫎 + * @param list + * @return + * @throws Exception + */ + public int deleteBatchByPrimaryKey(List<Long> list) throws Exception; + + /** + * CardID鎵归噺鍒犻櫎 + * @param list + * @return + * @throws Exception + */ + public int deleteBatchByCardID(List<Long> list) throws Exception; + + /** + * 鏍规嵁鏍囪瘑銆佺郴缁熸煡璇㈠惎鐢ㄤ笓棰� + * @param card + * @param systemId + * @return + */ + public List<Special> listBySystemAndCard(String card, Long systemId); + + /** + * 娲诲姩鍒楄〃-鍒嗛〉 + * @param start + * @param count + * @param card + * @param systemId + * @return + */ + public List<Special> listPageBySystemAndCard(long start, int count, String card, Long systemId); + + + /** + * 淇濆瓨 + * @param file + * @param record + * @param jumpType + * @throws SpecialException + * @throws Exception + */ + public void saveObject(MultipartFile file, MultipartFile file2, MultipartFile file3, Special record, String jumpType) throws SpecialException, Exception; + + /** + * 鏇存崲椤哄簭 + * @param id + * @param moveType + * @throws SpecialException + */ + public void updateOrder(Long id, Integer moveType, Integer sex) throws SpecialException; + + + /** + * 棣栭〉-涓撻鏁版嵁 + * @return + * @throws Exception + */ + public JSONObject listCacheSpecialToIndex(AcceptData acceptData, Integer sex) throws Exception; + + + /** + * 鏍规嵁涓撻浣嶇疆鏌ヨ + * @param placeKey + * @return + */ + public List<Special> listByPlaceKey(String placeKey); } -- Gitblit v1.8.0