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
a801a5f7
Commit
a801a5f7
authored
Sep 10, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取数平台调整
parent
566521bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
FlatQueryTableServiceImpl.java
...oud/data/hook/service/impl/FlatQueryTableServiceImpl.java
+5
-3
No files found.
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FlatQueryTableServiceImpl.java
View file @
a801a5f7
package
com
.
gic
.
cloud
.
data
.
hook
.
service
.
impl
;
import
cn.medubi.client.utils.LogPak
;
import
com.alibaba.fastjson.JSON
;
import
com.gic.cloud.common.api.base.Page
;
import
com.gic.cloud.data.hook.api.dto.FlatQueryFavo
;
...
...
@@ -7,6 +8,7 @@ import com.gic.cloud.data.hook.api.dto.FlatQueryField;
import
com.gic.cloud.data.hook.api.dto.FlatQueryTable
;
import
com.gic.cloud.data.hook.api.dto.FlatQueryTableDetail
;
import
com.gic.cloud.data.hook.api.service.IFlatQueryTableService
;
import
com.gic.cloud.data.hook.service.DataInitUtils
;
import
com.gic.cloud.data.hook.service.dao.FlatQueryFavoDao
;
import
com.gic.cloud.data.hook.service.dao.FlatQueryFieldDao
;
import
com.gic.cloud.data.hook.service.dao.FlatQueryTableDao
;
...
...
@@ -24,7 +26,7 @@ import java.util.List;
@Service
public
class
FlatQueryTableServiceImpl
implements
IFlatQueryTableService
{
private
org
.
slf4j
.
Logger
logger
=
LoggerFactory
.
getLogger
(
IFlatQueryTableService
.
class
);
private
static
LogPak
log
=
new
LogPak
(
FlatQueryTableServiceImpl
.
class
);
/** 自助查询表信息 Dao */
@Autowired
...
...
@@ -41,7 +43,7 @@ public class FlatQueryTableServiceImpl implements IFlatQueryTableService {
@Override
public
FlatQueryTable
queryFlatQueryTableById
(
String
userId
,
String
id
)
{
FlatQueryTable
table
=
this
.
flatQueryTableDao
.
getFlatQueryTableById
(
userId
,
id
);
log
ger
.
debug
(
"json 格式为 "
+
JSON
.
toJSONString
(
table
));
log
.
debug
(
"json 格式为 :"
,
JSON
.
toJSONString
(
table
));
return
table
;
}
...
...
@@ -55,7 +57,7 @@ public class FlatQueryTableServiceImpl implements IFlatQueryTableService {
result
.
setList
(
preResult
.
getList
());
// 设置数据集
result
.
setTotal
(
preResult
.
getTotal
());
// 设置总数
result
.
setPageNum
(
preResult
.
getPageNum
());
// 设置当前页数
log
ger
.
debug
(
"json 格式为 "
+
JSON
.
toJSONString
(
result
));
log
.
debug
(
"json 格式为: "
,
JSON
.
toJSONString
(
result
));
return
result
;
}
...
...
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