定时任务 修改进件信息处理
This commit is contained in:
@@ -103,6 +103,15 @@ public class ShopMerchantServiceImpl extends ServiceImpl<ShopMerchantMapper, Sho
|
||||
shopMerchant.setNativePayJson(JSONObject.toJSONString(shopMerchantParam.getNativeMerchantDTO()));
|
||||
}
|
||||
}
|
||||
if (PayChannelCst.NATIVE.equals(shopMerchantParam.getChannel())) {
|
||||
if (StrUtil.isNotBlank(shopMerchant.getRelatedLicenceNo()) && (StrUtil.isNotBlank(shopMerchant.getAlipayAppId()) || StrUtil.isNotBlank(shopMerchant.getWechatAppId()))) {
|
||||
ShopMerchant upShopMerchant = new ShopMerchant();
|
||||
upShopMerchant.setAlipayAppId(shopMerchant.getAlipayAppId());
|
||||
upShopMerchant.setWechatAppId(shopMerchant.getWechatAppId());
|
||||
upShopMerchant.setNativePayJson(JSONObject.toJSONString(shopMerchantParam.getNativeMerchantDTO()));
|
||||
update(upShopMerchant, query().eq(ShopMerchant::getRelatedLicenceNo, shopMerchantParam.getRelatedLicenceNo()));
|
||||
}
|
||||
}
|
||||
return saveOrUpdate(shopMerchant);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user