Commit 46d4907c by fz

1.日志创建时间由参数传递,统一字段名

1 parent 66968977
......@@ -22,5 +22,5 @@ public class SmartCarKeyShareLogRequest {
pattern = "yyyy-MM-dd HH:mm:ss",
timezone = "GMT+8"
)
private Date logDate;
private Date createTime;
}
......@@ -131,7 +131,7 @@ public class AiLockingKeyShareServiceImpl implements AiLockingKeyShareService {
SmartKeyCommandShareLog logData = new SmartKeyCommandShareLog();
logData.setKeyCommand(command);
logData.setShareCarKeyId(keyId);
logData.setCreateTime(request.getLogDate());
logData.setCreateTime(request.getCreateTime());
shareLogService.insert(logData);
return R.ok();
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!