|
@@ -630,8 +630,10 @@ public class SplitAccountService extends BaseService {
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
String currentTime = format.format(calendar.getTime());
|
|
String currentTime = format.format(calendar.getTime());
|
|
List<OrderReceiptRelationPo> orderRelations = newOrderDao.getUndividedPaidReceipt(currentTime, shopOrderId);
|
|
List<OrderReceiptRelationPo> orderRelations = newOrderDao.getUndividedPaidReceipt(currentTime, shopOrderId);
|
|
- if (null != params.getProviderId()) {
|
|
|
|
- // 服务商
|
|
|
|
|
|
+ if (null != params.getShopSplitCode() && "E1808689662".equals(params.getShopSplitCode())) {
|
|
|
|
+ /** 服务商
|
|
|
|
+ * 当前版本薇旖美用厦门服务商作为供应商收款,订单收款商编为E1808689662判定为薇旖美订单
|
|
|
|
+ */
|
|
params.setSplitType(1);
|
|
params.setSplitType(1);
|
|
} else {
|
|
} else {
|
|
// 非服务商
|
|
// 非服务商
|
|
@@ -680,7 +682,7 @@ public class SplitAccountService extends BaseService {
|
|
receiveCommission = 0.01;
|
|
receiveCommission = 0.01;
|
|
}
|
|
}
|
|
// 收款手续费
|
|
// 收款手续费
|
|
- totalReceiveCommission.set(MathUtil.add(receiveCommission,totalReceiveCommission.get()).doubleValue());
|
|
|
|
|
|
+ totalReceiveCommission.set(MathUtil.add(receiveCommission, totalReceiveCommission.get()).doubleValue());
|
|
});
|
|
});
|
|
/** todo 当前服务商模式默认 91%供应商,1%采美,8%服务商,后续应该后台加入分配比例,取值自动计算,或者使用商品编辑中的比例分账,在分账页手选服务商分帐号
|
|
/** todo 当前服务商模式默认 91%供应商,1%采美,8%服务商,后续应该后台加入分配比例,取值自动计算,或者使用商品编辑中的比例分账,在分账页手选服务商分帐号
|
|
* todo 当前形式仅支持单商品子订单,未考虑子订单多商品
|
|
* todo 当前形式仅支持单商品子订单,未考虑子订单多商品
|