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
aea9429c
Commit
aea9429c
authored
Sep 14, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trademarktransactionSve update tmInfo
parent
79857b71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
center-tmtransaction/app/base/service/impl/tm/trademarktransactionSve.js
+12
-5
No files found.
center-tmtransaction/app/base/service/impl/tm/trademarktransactionSve.js
View file @
aea9429c
...
...
@@ -316,13 +316,16 @@ class TrademarktransactionService extends ServiceBase {
return
system
.
getResultFail
(
-
103
,
"参数错误"
);
}
var
ab
=
pobj
.
actionBody
;
if
(
!
ab
.
channel_code
)
{
return
system
.
getResultFail
(
-
104
,
"渠道码不能为空"
);
}
// 2020 0914 lin 修改 channle_coode为非必填
// if (!ab.channel_code) {
// return system.getResultFail(-104, "渠道码不能为空");
// }
var
limit
=
ab
.
PageSize
?
Number
(
ab
.
PageSize
)
:
10
;
var
offset
=
ab
.
PageNumber
?
(
Number
(
ab
.
PageNumber
)
-
1
)
*
limit
:
0
var
countObj
=
{
channel_code
:
ab
.
channel_code
};
var
whereObj
=
{
channel_code
:
ab
.
channel_code
};
// var countObj = { channel_code: ab.channel_code };
// var whereObj = { channel_code: ab.channel_code };
var
countObj
=
{
};
var
whereObj
=
{
};
if
(
ab
.
excelName
)
{
// 商标名称
whereObj
[
"excelName"
]
=
{
[
this
.
db
.
Op
.
like
]:
"%"
+
ab
.
name
+
"%"
};
countObj
[
"excelName"
]
=
{
[
this
.
db
.
Op
.
like
]:
"%"
+
ab
.
name
+
"%"
};
...
...
@@ -358,6 +361,10 @@ class TrademarktransactionService extends ServiceBase {
"pic_url"
,
"excelName"
,
"code"
,
"contacts"
,
//联系人
"mobile"
,
//联系电话
"name"
,
//商标名称
"trademark_type_name"
,
"ncl_one_code"
,
"channel_name"
,
"business_quoted_price"
,
...
...
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