|
@@ -2,6 +2,7 @@ package com.ym.mec.biz.service.impl;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.Arrays;
|
|
|
import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.HashSet;
|
|
@@ -114,10 +115,13 @@ public class PayServiceImpl implements PayService {
|
|
|
if (studentPaymentOrder != null && studentPaymentOrder.getType() == OrderTypeEnum.SMALL_CLASS_TO_BUY || studentPaymentOrder.getType() == OrderTypeEnum.PRACTICE_GROUP_BUY
|
|
|
|| studentPaymentOrder.getType() == OrderTypeEnum.PRACTICE_GROUP_RENEW) {
|
|
|
|
|
|
+ //忽略的分部
|
|
|
+ List<Integer> ignoreOrganList = Arrays.asList(4);
|
|
|
+
|
|
|
// 是否由平台收款
|
|
|
String isPlatformCollection = sysConfigDao.findConfigValue(SysConfigService.IS_OPEN_SMALL_CLASS_INCOME_TO_PLATFORM);
|
|
|
|
|
|
- if (StringUtils.equals("1", isPlatformCollection)) {
|
|
|
+ if (StringUtils.equals("1", isPlatformCollection) && !ignoreOrganList.contains(organId)) {
|
|
|
Date date = new Date();
|
|
|
|
|
|
String merNo = sysConfigDao.findConfigValue(SysConfigService.PLATFORM_PAYEE_ACCOUNT);
|