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
264d7f2e
Commit
264d7f2e
authored
Mar 01, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
policy push
parent
cd5e837a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
center-order/app/base/service/impl/dbpolicy/policyneedSve.js
+9
-2
No files found.
center-order/app/base/service/impl/dbpolicy/policyneedSve.js
View file @
264d7f2e
...
...
@@ -312,6 +312,14 @@ class PolicyneedService extends ServiceBase {
if
(
rtn
&&
rtn
.
code
==
"200"
){
await
this
.
dao
.
update
({
id
:
pn
.
id
,
isPushAlready
:
true
});
//标记需求数据,已推送
}
var
logObj
=
{
op
:
"app/base/service/impl/dbpolicy/policyneedSve.js"
,
content
:
JSON
.
stringify
(
rtn
),
resultInfo
:
JSON
.
stringify
(
rtn
),
opTitle
:
"推送政策需求数据至蜂擎系统--成功"
,
};
await
this
.
oplogDao
.
create
(
logObj
);
return
system
.
getResultSuccess
();
}
catch
(
e
)
{
var
logObj
=
{
op
:
"app/base/service/impl/dbpolicy/policyneedSve.js"
,
...
...
@@ -321,9 +329,8 @@ class PolicyneedService extends ServiceBase {
};
await
this
.
oplogDao
.
create
(
logObj
);
}
}
return
system
.
getResult
Success
(
);
return
system
.
getResult
(
null
,
"推送失败"
);
}
}
...
...
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