|
|
|
@@ -261,7 +261,7 @@ public class TtPayShareService extends PayShareBaseAdapterService{ |
|
|
|
|
|
|
|
@Override |
|
|
|
public int getOfficialCommission(WxOrder o, WxPayAccount payAccount) { |
|
|
|
Long couponId = wxCouponChannelMapper.findCouponIdById(o.getId(), o.getTenantId()); |
|
|
|
Long couponId = wxCouponChannelMapper.findCouponIdById(o.getCouponChannelId(), o.getTenantId()); |
|
|
|
Integer categoryId = wxCouponMapper.findCategoryIdById(couponId,o.getTenantId()); |
|
|
|
if(categoryId != null){ |
|
|
|
TtGoodsCategory ttGoodsCategory = TtGoodsCategoryMapper.selectById(categoryId); |
|
|
|
|