Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xnr-interface
Project
Project
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
heli_wms
xnr-interface
Commits
43fbbbb7
Commit
43fbbbb7
authored
Nov 28, 2019
by
tank.li@mushiny.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
90e73bdd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
InboundService.java
...ain/java/com/mushiny/heli/xnr/service/InboundService.java
+7
-2
No files found.
src/main/java/com/mushiny/heli/xnr/service/InboundService.java
View file @
43fbbbb7
...
...
@@ -26,6 +26,7 @@ public class InboundService {
"SELECT * FROM WMS_INBOUND_ORDER WHERE ENTRYID = ?"
;
private
final
static
Logger
logger
=
LoggerFactory
.
getLogger
(
InboundService
.
class
);
private
static
final
String
SQL_SEARCHINBOUND_ENTRYID
=
" AND ENTRYID like ? "
;
@Autowired
...
...
@@ -34,14 +35,18 @@ public class InboundService {
@Autowired
private
SystemPropertiesManager
systemPropertiesManager
;
public
static
final
String
SQL_SEARCHINBOUND
=
"SELECT * FROM WMS_INBOUND_ORDER WHERE
ENTRYID like ?
"
;
public
static
final
String
SQL_SEARCHINBOUND
=
"SELECT * FROM WMS_INBOUND_ORDER WHERE
1=1
"
;
public
List
<
Map
>
searchInbound
(
String
entryId
,
String
warehouseId
,
String
sectionId
)
{
List
params
=
new
ArrayList
();
StringBuilder
sql
=
new
StringBuilder
();
sql
.
append
(
SQL_SEARCHINBOUND
);
params
.
add
(
entryId
);
if
(!
CommonUtils
.
isEmpty
(
warehouseId
)){
sql
.
append
(
SQL_SEARCHINBOUND_ENTRYID
);
params
.
add
(
entryId
);
}
if
(!
CommonUtils
.
isEmpty
(
warehouseId
)){
sql
.
append
(
SQL_SEARCHINBOUND_FACTORY
);
params
.
add
(
warehouseId
);
...
...
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