|
@@ -660,13 +660,13 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
|
|
|
|
|
|
|
|
String mchId;
|
|
String mchId;
|
|
|
if (cashOutType == 2) {
|
|
if (cashOutType == 2) {
|
|
|
- RiderBankCardInfo riderBankCardInfo = riderBankCardInfoService.getByUserId(userEntity.getUserId());
|
|
|
|
|
- mchId = riderBankCardInfo.getMchId();
|
|
|
|
|
- } else if (cashOutType == 3) {
|
|
|
|
|
// 店铺商户号
|
|
// 店铺商户号
|
|
|
Long adminUserId = userEntity.getAdminUserId();
|
|
Long adminUserId = userEntity.getAdminUserId();
|
|
|
GoodsShop goodsShop = goodsShopService.getByAdminUserId(adminUserId);
|
|
GoodsShop goodsShop = goodsShopService.getByAdminUserId(adminUserId);
|
|
|
mchId = goodsShop.getMchId();
|
|
mchId = goodsShop.getMchId();
|
|
|
|
|
+ } else if (cashOutType == 3) {
|
|
|
|
|
+ RiderBankCardInfo riderBankCardInfo = riderBankCardInfoService.getByUserId(userEntity.getUserId());
|
|
|
|
|
+ mchId = riderBankCardInfo.getMchId();
|
|
|
} else {
|
|
} else {
|
|
|
throw new SqxException("暂不支持用户类型提现");
|
|
throw new SqxException("暂不支持用户类型提现");
|
|
|
}
|
|
}
|