Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
cc3740ae
Commit
cc3740ae
authored
Jan 09, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
b7e8f754
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
fi-taxctl/app/base/api/impl/rpt/rptApi.js
+4
-0
fi-taxctl/app/base/service/impl/rpt/rpttypeSve.js
+4
-0
No files found.
fi-taxctl/app/base/api/impl/rpt/rptApi.js
View file @
cc3740ae
...
@@ -61,6 +61,10 @@ class RptAPI extends APIBase{
...
@@ -61,6 +61,10 @@ class RptAPI extends APIBase{
}
}
]
]
}*/
}*/
async
deleteUrlsCache
(
pobj
,
query
){
var
x
=
await
this
.
rptService
.
deleteUrlsCache
();
return
system
.
getResult
({});
}
async
saveRpt
(
pobj
,
query
){
async
saveRpt
(
pobj
,
query
){
var
x
=
await
this
.
rptService
.
saveRpt
(
pobj
);
var
x
=
await
this
.
rptService
.
saveRpt
(
pobj
);
return
system
.
getResult
(
x
);
return
system
.
getResult
(
x
);
...
...
fi-taxctl/app/base/service/impl/rpt/rpttypeSve.js
View file @
cc3740ae
...
@@ -6,6 +6,10 @@ class RptTypeService extends ServiceBase{
...
@@ -6,6 +6,10 @@ class RptTypeService extends ServiceBase{
super
(
"rpt"
,
ServiceBase
.
getDaoName
(
RptTypeService
));
super
(
"rpt"
,
ServiceBase
.
getDaoName
(
RptTypeService
));
this
.
redisClient
=
system
.
getObject
(
"util.redisClient"
);
this
.
redisClient
=
system
.
getObject
(
"util.redisClient"
);
}
}
async
deleteUrlsCache
(){
await
this
.
redisClient
.
delete
(
"docurls"
);
return
{};
}
async
saveRptHistory
(
hs
){
async
saveRptHistory
(
hs
){
var
self
=
this
;
var
self
=
this
;
return
this
.
db
.
transaction
(
async
t
=>
{
return
this
.
db
.
transaction
(
async
t
=>
{
...
...
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