Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
warehouse
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
胡懿
warehouse
Commits
e1c2204f
Commit
e1c2204f
authored
Feb 21, 2023
by
胡懿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库明细查询改为分页
parent
c0b4402b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
StorageController.java
...plus/modules/warehouse/storage/web/StorageController.java
+4
-10
No files found.
src/main/java/com/jeeplus/modules/warehouse/storage/web/StorageController.java
View file @
e1c2204f
...
@@ -267,19 +267,14 @@ public class StorageController extends BaseController {
...
@@ -267,19 +267,14 @@ public class StorageController extends BaseController {
*/
*/
@ResponseBody
@ResponseBody
@RequestMapping
(
value
=
"findByPcTypeModel"
)
@RequestMapping
(
value
=
"findByPcTypeModel"
)
public
AjaxJson
findByPcTypeModel
(
HttpServletRequest
request
,
HttpServletResponse
response
,
StorageInfo
storageInfo
)
{
public
Map
<
String
,
Object
>
findByPcTypeModel
(
HttpServletRequest
request
,
HttpServletResponse
response
,
StorageInfo
storageInfo
)
{
GoodsInfo
goodsInfo
=
storageInfo
.
getGoodsInfo
();
GoodsInfo
goodsInfo
=
storageInfo
.
getGoodsInfo
();
AjaxJson
j
=
new
AjaxJson
();
if
(
null
!=
goodsInfo
&&
null
!=
goodsInfo
.
getGoods
()
&&
null
!=
goodsInfo
.
getType
()
&&
StringUtils
.
isNotBlank
(
goodsInfo
.
getGoods
().
getBatchNum
())
&&
StringUtils
.
isNotBlank
(
goodsInfo
.
getType
().
getId
()))
{
if
(
null
!=
goodsInfo
&&
null
!=
goodsInfo
.
getGoods
()
&&
null
!=
goodsInfo
.
getType
()
&&
StringUtils
.
isNotBlank
(
goodsInfo
.
getGoods
().
getBatchNum
())
&&
StringUtils
.
isNotBlank
(
goodsInfo
.
getType
().
getId
()))
{
Page
<
StorageInfo
>
storageInfoList
=
storageService
.
findByPcTypeModel
(
new
Page
<
StorageInfo
>(
request
,
response
),
goodsInfo
);
Page
<
StorageInfo
>
page
=
storageService
.
findByPcTypeModel
(
new
Page
<
StorageInfo
>(
request
,
response
),
goodsInfo
);
j
.
put
(
"storageInfoList"
,
storageInfoList
);
return
getBootstrapData
(
page
);
j
.
setSuccess
(
true
);
j
.
setMsg
(
"查询成功"
);
}
else
{
}
else
{
j
.
setSuccess
(
false
);
return
null
;
j
.
setMsg
(
"查询条件不能为空"
);
}
}
return
j
;
}
}
}
}
\ No newline at end of file
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