Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-hook
gic-cloud
Commits
332a52a4
Commit
332a52a4
authored
May 12, 2021
by
朱瑞泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ebc3b69b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
TableSyncRecordController.java
...om/gic/cloud/data/hook/web/TableSyncRecordController.java
+3
-2
No files found.
gic-cloud-data-hook/src/main/java/com/gic/cloud/data/hook/web/TableSyncRecordController.java
View file @
332a52a4
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment