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
83fe0a42
Commit
83fe0a42
authored
Feb 07, 2020
by
何文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复商品上下架bug
parent
d83fd986
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
AppletConfigGoodsController.java
...lug/web/controller/goods/AppletConfigGoodsController.java
+8
-0
No files found.
src/main/java/com/gic/plug/web/controller/goods/AppletConfigGoodsController.java
View file @
83fe0a42
package
com
.
gic
.
plug
.
web
.
controller
.
goods
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
org.apache.commons.lang3.StringUtils
;
...
...
@@ -176,6 +177,13 @@ public class AppletConfigGoodsController {
searchDTO
.
setRecordNumber
(
pageSize
);
JSONObject
jsonObject
=
null
;
JSONObject
status
=
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"status"
,
OperateEnum
.
OPERATE_EQ
,
2
);
if
(
Constant
.
CHANNEL_CODE_MALL
.
equals
(
channelCode
))
{
List
<
JSONObject
>
jsonObjectList
=
new
ArrayList
<>();
jsonObjectList
.
add
(
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"upShelfTime"
,
OperateEnum
.
OPERATE_GTE
,
new
Date
()));
jsonObjectList
.
add
(
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"upShelfTime"
,
OperateEnum
.
OPERATE_EQ
,
null
));
status
=
QueryConditionAssemblyUtil
.
addQueryNodeForSiblin
(
status
,
QueryConditionAssemblyUtil
.
createListQueryNode
(
jsonObjectList
,
OperateEnum
.
OPERATE_OR
),
OperateEnum
.
OPERATE_AND
);
}
if
(
goodsDomainId
==
null
)
{
jsonObject
=
status
;
}
else
{
...
...
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