Commit 2dc61cb8 by fz

1.修改分享钥匙关闭,返回时间

1 parent 46d4907c
......@@ -146,10 +146,11 @@ public class AiLockingKeyShareServiceImpl implements AiLockingKeyShareService {
//分享状态关闭
blueKey.setShareStatus(0);
//更新停止时间
blueKey.setStopTime(new Date());
Date now = new Date();
blueKey.setStopTime(now);
SmartVehicleBlueShareKeyExample example = shareKeyService.getBlueKeyShareExampleByID(keyId);
shareKeyService.updateByExampleSelective(blueKey, example);
return R.ok();
return R.ok().data(DateUtil.format(now,"yyyy-MM-dd HH:mm:ss"));
}
//获取分享的钥匙信息
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!