|
|
@@ -295,7 +295,7 @@ public class WxCardSpendServiceImpl implements WxCardSpendService { |
|
|
cardSpendQ.setTenantId(tenantId); |
|
|
cardSpendQ.setTenantId(tenantId); |
|
|
cardSpendQ.setCardId(cardId); |
|
|
cardSpendQ.setCardId(cardId); |
|
|
psNum = wxCardSpendMapper.selectCount(cardSpendQ); |
|
|
psNum = wxCardSpendMapper.selectCount(cardSpendQ); |
|
|
if (psNum >= 20) { |
|
|
|
|
|
|
|
|
if (psNum > 20) { |
|
|
logger.error("微信分账已超过限制次数-20次"); |
|
|
logger.error("微信分账已超过限制次数-20次"); |
|
|
throw new MallinkException(ErrorCode.PROFIT_SHARING_NUM_UP_LIMIT); |
|
|
throw new MallinkException(ErrorCode.PROFIT_SHARING_NUM_UP_LIMIT); |
|
|
} |
|
|
} |
|
|
|