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
a262a411
Commit
a262a411
authored
Jan 10, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Plain Diff
d
parents
027abf0f
422cb0a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletions
+14
-1
fi-taxctl/app/base/api/impl/rpt/rptApi.js
+4
-0
fi-taxctl/app/base/service/impl/rpt/rpttypeSve.js
+9
-1
fi-taxctl/app/config/settings.js
+1
-0
No files found.
fi-taxctl/app/base/api/impl/rpt/rptApi.js
View file @
a262a411
...
@@ -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 @
a262a411
...
@@ -7,6 +7,10 @@ class RptTypeService extends ServiceBase{
...
@@ -7,6 +7,10 @@ class RptTypeService extends ServiceBase{
this
.
redisClient
=
system
.
getObject
(
"util.redisClient"
);
this
.
redisClient
=
system
.
getObject
(
"util.redisClient"
);
this
.
cacheBatchId
=
{};
this
.
cacheBatchId
=
{};
}
}
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
=>
{
...
@@ -55,10 +59,14 @@ class RptTypeService extends ServiceBase{
...
@@ -55,10 +59,14 @@ class RptTypeService extends ServiceBase{
}));
}));
console
.
log
(
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>sended..........."
);
console
.
log
(
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>sended..........."
);
self
.
redisClient
.
delete
(
"batch"
+
batchid
);
await
self
.
redisClient
.
delete
(
"batch"
+
batchid
);
//改变批的状态为解析完毕
//改变批的状态为解析完毕
batch
.
batchstatuscode
=
"calc"
;
batch
.
batchstatuscode
=
"calc"
;
<<<<<<<
HEAD
await
batch
.
save
({
transaction
:
t
});
await
batch
.
save
({
transaction
:
t
});
=======
await
batch
.
save
();
>>>>>>>
422
cb0a3bd4d59bfb998fa20ae4441a4e83c6e35
}
}
return
{};
return
{};
});
});
...
...
fi-taxctl/app/config/settings.js
View file @
a262a411
...
@@ -93,6 +93,7 @@ var settings = {
...
@@ -93,6 +93,7 @@ var settings = {
idle
:
1000000
idle
:
1000000
},
},
debug
:
false
,
debug
:
false
,
logging
:
false
,
dialectOptions
:{
dialectOptions
:{
requestTimeout
:
999999
,
requestTimeout
:
999999
,
// instanceName:'DEV'
// instanceName:'DEV'
...
...
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