1
This commit is contained in:
@@ -79,4 +79,12 @@ public interface OrderRowsMapper
|
||||
* @return 京粉订单
|
||||
*/
|
||||
public OrderRows selectOrderRowsByOrderId(String orderId);
|
||||
|
||||
/**
|
||||
* 根据礼金Key查询订单列表
|
||||
*
|
||||
* @param giftCouponKey 礼金Key
|
||||
* @return 订单列表
|
||||
*/
|
||||
public List<OrderRows> selectOrderRowsByGiftCouponKey(@Param("giftCouponKey") String giftCouponKey);
|
||||
}
|
||||
|
||||
@@ -383,4 +383,10 @@
|
||||
<include refid="selectOrderRowsVo"/>
|
||||
where order_id = #{orderId}
|
||||
</select>
|
||||
|
||||
<select id="selectOrderRowsByGiftCouponKey" parameterType="String" resultMap="OrderRowsResult">
|
||||
<include refid="selectOrderRowsVo"/>
|
||||
where gift_coupon_key = #{giftCouponKey}
|
||||
order by order_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user