From 207dc8655711cddac2653e18b51e58a88dba2084 Mon Sep 17 00:00:00 2001 From: yj <Administrator@192> Date: 星期五, 06 三月 2020 18:14:36 +0800 Subject: [PATCH] 发圈处理 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoPunishOrderMapper.java | 35 +++++++++++++++++++++-------------- 1 files changed, 21 insertions(+), 14 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoPunishOrderMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoPunishOrderMapper.java index eaee6c0..56005ac 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoPunishOrderMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/taobao/TaoBaoPunishOrderMapper.java @@ -1,15 +1,22 @@ -package com.yeshi.fanli.dao.mybatis.taobao; - -import com.yeshi.fanli.dao.BaseMapper; -import com.yeshi.fanli.entity.taobao.TaoBaoPunishOrder; - -public interface TaoBaoPunishOrderMapper extends BaseMapper<TaoBaoPunishOrder> { - - /** - * 鏍规嵁浜ゆ槗ID鏌ヨ - * @param tradeId - * @return - */ - TaoBaoPunishOrder selectByTradeId(String tradeId); - +package com.yeshi.fanli.dao.mybatis.taobao; + +import com.yeshi.fanli.dao.BaseMapper; +import com.yeshi.fanli.entity.taobao.TaoBaoPunishOrder; + +public interface TaoBaoPunishOrderMapper extends BaseMapper<TaoBaoPunishOrder> { + + /** + * 鏍规嵁浜ゆ槗ID鏌ヨ + * @param tradeId + * @return + */ + TaoBaoPunishOrder selectByTradeId(String tradeId); + + /** + * 鏍规嵁鐖朵氦鏄揑D鏌ヨ鏁伴噺 + * @param orderId + * @return + */ + long countByParentTradeId(String orderId); + } \ No newline at end of file -- Gitblit v1.8.0