Commit f45c3060 by fz

1.新增钥匙默认分享打开

1 parent f4127e29
......@@ -28,5 +28,5 @@ public class SmartCarKeyCommandRequest{
pattern = "yyyy-MM-dd HH:mm:ss",
timezone = "GMT+8"
)
private Date logDate;
private Date createTime;
}
......@@ -181,7 +181,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
//明文存储crep
logData.setCrepCode(crep);
logData.setKeyCommand(carKeyCommandRequest.getKeyCommand());
logData.setCreateTime(carKeyCommandRequest.getLogDate());
logData.setCreateTime(carKeyCommandRequest.getCreateTime());
smartKeyCommandLogService.insert(logData);
return R.ok();
}
......@@ -520,6 +520,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
newKey.setCreateTime(new Date());
//默认0,正常数据
newKey.setIsDelete(0);
newKey.setShareStatus(1);
newKey.setPeripheralUuid("");
try {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!