Commit 332a52a4 by 朱瑞泽

fix

parent ebc3b69b
...@@ -2,6 +2,7 @@ package com.gic.cloud.data.hook.web; ...@@ -2,6 +2,7 @@ package com.gic.cloud.data.hook.web;
import com.gic.cloud.data.hook.api.dto.TableSyncRecordResult; import com.gic.cloud.data.hook.api.dto.TableSyncRecordResult;
import com.gic.cloud.data.hook.api.service.TableSyncRecordService; import com.gic.cloud.data.hook.api.service.TableSyncRecordService;
import com.gic.web.common.utils.SessionContextUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -22,12 +23,12 @@ public class TableSyncRecordController { ...@@ -22,12 +23,12 @@ public class TableSyncRecordController {
/** /**
* 获取最近一次同步时间 * 获取最近一次同步时间
* *
* @param enterpriseId
* @param tableName * @param tableName
* @return * @return
*/ */
@RequestMapping("/last-sync-date-time") @RequestMapping("/last-sync-date-time")
public TableSyncRecordResult lastSyncDateTime(String enterpriseId, String tableName) { public TableSyncRecordResult lastSyncDateTime(String tableName) {
String enterpriseId = SessionContextUtils.getLoginUserEnterpriseId();
TableSyncRecordResult result = new TableSyncRecordResult(); TableSyncRecordResult result = new TableSyncRecordResult();
result.setEnterpriseId(enterpriseId); result.setEnterpriseId(enterpriseId);
result.setTableName(tableName); result.setTableName(tableName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment