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
72d40392
Commit
72d40392
authored
Jun 01, 2020
by
何文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP商品选择器
parent
93d641d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
AppletConfigGoodsController.java
...lug/web/controller/goods/AppletConfigGoodsController.java
+5
-5
No files found.
src/main/java/com/gic/plug/web/controller/goods/AppletConfigGoodsController.java
View file @
72d40392
...
@@ -33,10 +33,7 @@ import org.springframework.web.bind.annotation.RequestParam;
...
@@ -33,10 +33,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.*
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
/**
/**
...
@@ -250,7 +247,10 @@ public class AppletConfigGoodsController extends BaseGoodsController {
...
@@ -250,7 +247,10 @@ public class AppletConfigGoodsController extends BaseGoodsController {
searchDTO
.
setBegin
((
currentPage
-
1
)
*
pageSize
);
searchDTO
.
setBegin
((
currentPage
-
1
)
*
pageSize
);
searchDTO
.
setRecordNumber
(
pageSize
);
searchDTO
.
setRecordNumber
(
pageSize
);
JSONObject
jsonObject
=
null
;
JSONObject
jsonObject
=
null
;
JSONObject
status
=
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"status"
,
OperateEnum
.
OPERATE_EQ
,
2
);
JSONObject
status
=
new
JSONObject
();
if
(!
Objects
.
equals
(
Constant
.
CHANNEL_CODE_ERP
,
channelCode
))
{
status
=
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"status"
,
OperateEnum
.
OPERATE_EQ
,
2
);
}
if
(
Constant
.
CHANNEL_CODE_MALL
.
equals
(
channelCode
))
{
if
(
Constant
.
CHANNEL_CODE_MALL
.
equals
(
channelCode
))
{
status
=
QueryConditionAssemblyUtil
.
addQueryNodeForSiblin
(
status
,
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"upShelfTime"
,
OperateEnum
.
OPERATE_LTE
,
new
Date
().
getTime
()),
OperateEnum
.
OPERATE_AND
);
status
=
QueryConditionAssemblyUtil
.
addQueryNodeForSiblin
(
status
,
QueryConditionAssemblyUtil
.
createSimpleQueryNode
(
"upShelfTime"
,
OperateEnum
.
OPERATE_LTE
,
new
Date
().
getTime
()),
OperateEnum
.
OPERATE_AND
);
}
}
...
...
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