From b6c37e4bc38db88a360d0f2c6099183f9bb75bdc Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期一, 22 四月 2019 14:31:59 +0800 Subject: [PATCH] 券推送插入 --- fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java index 43c29a1..b4cc256 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java @@ -10,6 +10,8 @@ import com.yeshi.fanli.exception.order.CommonOrderException; import com.yeshi.fanli.vo.order.CommonOrderVO; +import net.sf.json.JSONObject; + public interface CommonOrderService { public int insert(CommonOrder record); @@ -174,4 +176,59 @@ public long countQueryByUid(Long uid, Integer state, Integer type, Integer orderState, String orderNo, String startTime, String endTime, Integer dateType) throws CommonOrderException; + /** + * 鏌ヨ鎵�鏈夌敤鎴疯鍗� + * @param start + * @param count + * @param keyType + * @param key + * @param state + * @param type + * @param orderState + * @param startTime + * @param endTime + * @return + * @throws CommonOrderException + */ + + public List<CommonOrderVO> listQuery(long start, int count, Integer keyType, String key, Integer state, Integer type, + Integer orderState, String startTime, String endTime) throws CommonOrderException; + + public long countQuery(Integer keyType, String key, Integer state, Integer type, Integer orderState, String startTime, + String endTime) throws CommonOrderException; + + /** + * 鏍规嵁璁㈠崟鍙疯幏鍙栦俊鎭� + * @param orderNo + * @return + * @throws CommonOrderException + */ + public CommonOrderVO getInfoByOrderNo(Long uid, String orderNo) throws CommonOrderException; + + /** + * 鏌ヨ鍒稿鍔遍噾棰濅互鍙婅鍗曚俊鎭� + * @param uid + * @param state + * @param orderNo + * @return + * @throws CommonOrderException + */ + public List<CommonOrderVO> getCouponHongbaoByOrderNo(Long uid, Integer state, String orderNo) throws CommonOrderException; + + /** + * 鏌ヨ璁㈠崟 + * @param uid + * @param orderNo + * @return + * @throws CommonOrderException + */ + public CommonOrderVO getCommonOrderByOrderNo(Long uid, String orderNo, Integer orderState) throws CommonOrderException; + + /** + * 浣跨敤濂栧姳鍒告垚鍔熷悗璺宠浆 淇敼 + * @param orderNo + * @return + */ + public JSONObject getRewardJumpInfo(String orderNo); + } -- Gitblit v1.8.0