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
b44ccfd9
Commit
b44ccfd9
authored
Nov 08, 2021
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a42307c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
center-tmtransaction/app/base/service/impl/tm/trademarktransactionSve.js
+2
-0
center-tmtransaction/app/base/utils/aliClient.js
+3
-2
No files found.
center-tmtransaction/app/base/service/impl/tm/trademarktransactionSve.js
View file @
b44ccfd9
...
@@ -706,6 +706,7 @@ class TrademarktransactionService extends ServiceBase {
...
@@ -706,6 +706,7 @@ class TrademarktransactionService extends ServiceBase {
}
}
async
forceUpdate
(
pobj
,
status
)
{
async
forceUpdate
(
pobj
,
status
)
{
let
item
=
await
this
.
dao
.
findOne
({
id
:
pobj
.
actionBody
.
id
})
let
item
=
await
this
.
dao
.
findOne
({
id
:
pobj
.
actionBody
.
id
})
let
price
=
item
.
platform_quoted_price
item
.
platform_quoted_price
=
pobj
.
actionBody
.
price
item
.
platform_quoted_price
=
pobj
.
actionBody
.
price
let
obj
=
buildobj
(
item
,
status
)
let
obj
=
buildobj
(
item
,
status
)
if
(
obj
)
{
if
(
obj
)
{
...
@@ -717,6 +718,7 @@ class TrademarktransactionService extends ServiceBase {
...
@@ -717,6 +718,7 @@ class TrademarktransactionService extends ServiceBase {
item
.
fail_reason
=
err
item
.
fail_reason
=
err
item
.
publish_status
=
"fail"
item
.
publish_status
=
"fail"
item
.
publish_status_name
=
"发布失败"
item
.
publish_status_name
=
"发布失败"
item
.
platform_quoted_price
=
price
item
.
save
()
item
.
save
()
return
system
.
getResultError
(
err
)
return
system
.
getResultError
(
err
)
}
else
{
}
else
{
...
...
center-tmtransaction/app/base/utils/aliClient.js
View file @
b44ccfd9
...
@@ -36,13 +36,14 @@ exports.reqbyget = async (obj) => {
...
@@ -36,13 +36,14 @@ exports.reqbyget = async (obj) => {
exports
.
buildobj
=
(
sqlobj
,
status
)
=>
{
exports
.
buildobj
=
(
sqlobj
,
status
)
=>
{
try
{
try
{
let
nclcode
=
sqlobj
.
ncl_one_code
if
(
!
sqlobj
.
tm_ncl_third
||
!
sqlobj
.
tm_group
)
if
(
!
sqlobj
.
tm_ncl_third
||
!
sqlobj
.
tm_group
)
return
null
return
null
if
(
sqlobj
.
ncl_one_code
.
length
===
1
)
if
(
sqlobj
.
ncl_one_code
.
length
===
1
)
sqlobj
.
ncl_one_code
=
"0"
+
sqlobj
.
ncl_one_
code
nclcode
=
"0"
+
ncl
code
return
{
return
{
"beginTime"
:
1574388139000
,
"beginTime"
:
1574388139000
,
"classificationCode"
:
sqlobj
.
ncl_one_
code
,
"classificationCode"
:
ncl
code
,
"description"
:
JSON
.
parse
(
sqlobj
.
tm_ncl_third
).
join
(
","
),
"description"
:
JSON
.
parse
(
sqlobj
.
tm_ncl_third
).
join
(
","
),
"endTime"
:
1668089537981
,
"endTime"
:
1668089537981
,
"label"
:
"商标标签"
,
"label"
:
"商标标签"
,
...
...
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