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
a5882f8e
Commit
a5882f8e
authored
Dec 17, 2019
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmconfirm
parent
0f3f5b3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
igirl-channel/app/base/service/impl/dborder/ordertmproductSve.js
+4
-1
No files found.
igirl-channel/app/base/service/impl/dborder/ordertmproductSve.js
View file @
a5882f8e
...
...
@@ -1152,6 +1152,7 @@ class OrderTmProductService extends ServiceBase {
return
await
self
.
db
.
transaction
(
async
function
(
t
)
{
var
otpObj
=
{
id
:
ordertmproduct
.
id
};
var
tmObj
=
{
officialType
:
"dsh"
};
var
logMsg
=
{
sourceOrderNo
:
deliveryOrderNo
,
opContent
:
"商标方案确认"
,
app_id
:
app
.
id
,
isShow
:
1
};
if
(
isConfirm
==
"0"
)
{
if
(
!
obj
.
notes
)
{
return
system
.
getResultFail
(
-
106
,
"方案确认失败,不通过原因不能为空"
);
...
...
@@ -1159,14 +1160,16 @@ class OrderTmProductService extends ServiceBase {
otpObj
[
"deliveryStatus"
]
=
"fabtg"
;
otpObj
[
"notes"
]
=
obj
.
notes
;
tmObj
.
officialType
=
"fabtg"
;
logMsg
[
"opContent"
]
=
"商标方案不通过"
;
}
if
(
isConfirm
==
"1"
)
{
otpObj
[
"deliveryStatus"
]
=
"dsh"
;
otpObj
[
"notes"
]
=
obj
.
notes
||
""
;
logMsg
[
"opContent"
]
=
"商标方案确认通过"
;
}
await
self
.
trademarkDao
.
updateByWhere
(
tmObj
,
{
where
:
{
deliveryOrderNo
:
deliveryOrderNo
}
},
t
);
await
self
.
dao
.
update
(
otpObj
,
t
);
var
logMsg
=
{
sourceOrderNo
:
deliveryOrderNo
,
opContent
:
"商标方案确认"
,
app_id
:
app
.
id
,
isShow
:
1
};
await
self
.
orderflowDao
.
create
(
logMsg
,
t
);
return
system
.
getResultSuccess
();
})
...
...
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