添加拉卡拉设备绑定解绑功能

This commit is contained in:
韩鹏辉
2023-07-03 15:08:46 +08:00
parent eaada0d4f9
commit dbf20ce758

View File

@@ -191,7 +191,7 @@ public class DeviceStockServiceImpl extends ServiceImpl<DeviceStockMapper, Devic
DeviceStock device = getById(id);
if(device.getSnNo().startsWith("QR")){
MerchantBaseInfo merchantBaseInfo=merchantBaseInfoService.getMerchantBaseInfoByUserId(device.getBuyMercId());
MerchantBaseInfo merchantBaseInfo=merchantBaseInfoService.getMerchantBaseInfoByUserId(device.getBelongUserId().toString());
boolean flag=lklPayService.deactivate(merchantBaseInfo,device.getSnNo());