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
f70034ff
Commit
f70034ff
authored
Jul 02, 2020
by
xsren@gongsibao.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
3c7afe5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
center-app/app/base/service/impl/dbproduct/productSve.js
+7
-4
No files found.
center-app/app/base/service/impl/dbproduct/productSve.js
View file @
f70034ff
...
...
@@ -111,7 +111,7 @@ class ProductService extends ServiceBase {
channel_item_code
=
channelItemCode
;
break
;
case
'zzxk'
:
if
(
actionBody
.
province
!=
''
){
if
(
actionBody
.
province
){
producesql
+=
` AND pc.price_desc LIKE '%
${
actionBody
.
province
}
%'`
;
}
else
{
return
system
.
getResultFail
(
null
,
'actionBody.province can not be empty!'
)
...
...
@@ -125,7 +125,7 @@ class ProductService extends ServiceBase {
}
break
;
case
'bqfu'
:
if
(
actionBody
.
serviceType
!=
''
){
if
(
actionBody
.
serviceType
){
producesql
+=
` AND pc.price_desc LIKE '%
${
actionBody
.
serviceType
}
%'`
;
}
else
{
return
system
.
getResultFail
(
null
,
'actionBody.serviceType can not be empty!'
)
...
...
@@ -140,7 +140,7 @@ class ProductService extends ServiceBase {
break
;
case
'gsfu'
:
if
(
code2
!=
'ysgszc'
){
if
(
actionBody
.
city
!=
''
&&
actionBody
.
serviceType
!=
''
){
if
(
actionBody
.
city
&&
actionBody
.
serviceType
){
let
str
=
actionBody
.
city
+
actionBody
.
serviceType
;
producesql
+=
` AND pc.price_desc LIKE '%
${
str
}
%'`
;
}
else
{
...
...
@@ -157,12 +157,15 @@ class ProductService extends ServiceBase {
}
break
;
case
'csfw'
:
if
(
actionBody
.
city
!=
''
){
if
(
actionBody
.
city
){
let
str
=
actionBody
.
city
;
producesql
+=
` AND pc.price_desc LIKE '%
${
str
}
%'`
;
}
else
{
return
system
.
getResultFail
(
null
,
'actionBody.serviceType can not be empty!'
)
}
if
(
code2
==
'gsdz'
){
producesql
+=
` AND pc.additions_desc = '
${
actionBody
.
serviceType
}
'`
}
break
;
default
:
producesql
+=
` AND pt.channel_item_code = '
${
code2
}
'`
;
...
...
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