Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-webapp-plug
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-webapp-plug
Commits
a7c1077f
Commit
a7c1077f
authored
May 28, 2020
by
何文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新组件
parent
90ebd4b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
AppletConfigGoodsController.java
...lug/web/controller/goods/AppletConfigGoodsController.java
+4
-1
No files found.
src/main/java/com/gic/plug/web/controller/goods/AppletConfigGoodsController.java
View file @
a7c1077f
...
@@ -167,6 +167,9 @@ public class AppletConfigGoodsController extends BaseGoodsController {
...
@@ -167,6 +167,9 @@ public class AppletConfigGoodsController extends BaseGoodsController {
@RequestParam
(
value
=
"pageSize"
,
defaultValue
=
"20"
)
Integer
pageSize
,
String
search
,
@RequestParam
(
value
=
"pageSize"
,
defaultValue
=
"20"
)
Integer
pageSize
,
String
search
,
Double
startPrice
,
Double
endPrice
,
Integer
startStock
,
Integer
endStock
,
String
channelCode
)
{
Double
startPrice
,
Double
endPrice
,
Integer
startStock
,
Integer
endStock
,
String
channelCode
)
{
JSONObject
queryObject
=
null
;
JSONObject
queryObject
=
null
;
if
(
StringUtils
.
isBlank
(
channelCode
))
{
channelCode
=
Constant
.
CHANNEL_CODE_MALL
;
}
if
(
startPrice
!=
null
)
{
if
(
startPrice
!=
null
)
{
queryObject
=
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"goodsPrice"
,
queryObject
=
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"goodsPrice"
,
OperateEnum
.
OPERATE_GTE
,
startPrice
);
OperateEnum
.
OPERATE_GTE
,
startPrice
);
...
@@ -199,7 +202,7 @@ public class AppletConfigGoodsController extends BaseGoodsController {
...
@@ -199,7 +202,7 @@ public class AppletConfigGoodsController extends BaseGoodsController {
}
}
}
}
ServiceResponse
<
ESResponseQueryBatchDTO
>
serviceResponse
=
searchGoods
(
currentPage
,
pageSize
,
null
,
search
,
ServiceResponse
<
ESResponseQueryBatchDTO
>
serviceResponse
=
searchGoods
(
currentPage
,
pageSize
,
null
,
search
,
Constant
.
CHANNEL_CODE_MALL
,
queryObject
);
channelCode
,
queryObject
);
if
(
serviceResponse
.
isSuccess
())
{
if
(
serviceResponse
.
isSuccess
())
{
return
RestResponse
.
success
(
serviceResponse
.
getResult
());
return
RestResponse
.
success
(
serviceResponse
.
getResult
());
}
}
...
...
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