添加支付信息
This commit is contained in:
@@ -83,8 +83,8 @@ public class ShopMerchantServiceImpl extends ServiceImpl<ShopMerchantMapper, Sho
|
|||||||
if (isUp) {
|
if (isUp) {
|
||||||
shopMerchant.setChannel(CzgStrUtils.getStrOrNull(shopMerchantParam.getChannel()));
|
shopMerchant.setChannel(CzgStrUtils.getStrOrNull(shopMerchantParam.getChannel()));
|
||||||
shopMerchant.setRelatedId(shopMerchantParam.getRelatedId());
|
shopMerchant.setRelatedId(shopMerchantParam.getRelatedId());
|
||||||
if (shopMerchantParam.getRelatedId() == null || !shopMerchantParam.getRelatedId().equals(shopMerchant.getRelatedId())) {
|
if (shopMerchant.getRelatedId() != null && !shopMerchantParam.getRelatedId().equals(shopMerchant.getRelatedId())) {
|
||||||
ShopDirectMerchant shopDirectMerchant = shopDirectMerchantService.getById(shopMerchantParam.getRelatedId());
|
ShopDirectMerchant shopDirectMerchant = shopDirectMerchantService.getById(shopMerchant.getRelatedId());
|
||||||
if (shopDirectMerchant != null) {
|
if (shopDirectMerchant != null) {
|
||||||
NativeMerchantDTO nativeMerchantDTO = new NativeMerchantDTO();
|
NativeMerchantDTO nativeMerchantDTO = new NativeMerchantDTO();
|
||||||
nativeMerchantDTO.setWechatMerchantId(shopDirectMerchant.getWechatMerchantId());
|
nativeMerchantDTO.setWechatMerchantId(shopDirectMerchant.getWechatMerchantId());
|
||||||
|
|||||||
Reference in New Issue
Block a user