Commit cf2874de by fz

1.修复删除单个钥匙失败

1 parent 7c1d0eeb
......@@ -117,9 +117,8 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
SmartVehicleBlueKey blueKey = keyList.get(0);
//逻辑删除蓝牙车钥匙设备
SmartVehicleBlueKey smartVehicleBlueKey = new SmartVehicleBlueKey();
smartVehicleBlueKey.setIsDelete(1);
smartVehicleBlueKeyService.updateByPrimaryKeySelective(smartVehicleBlueKey);
blueKey.setIsDelete(1);
smartVehicleBlueKeyService.updateByPrimaryKeySelective(blueKey);
//主钥匙ID
long carKeyId = blueKey.getId();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!