Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
a3bde113
Commit
a3bde113
authored
Jul 15, 2020
by
季圣华
Browse files
解决库存状态报表bug
parent
fdeded44
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
a3bde113
...
...
@@ -252,13 +252,14 @@ public class DepotItemController {
* 查找所有的明细
* @param currentPage
* @param pageSize
* @param
projec
tId
* @param
depo
tId
* @param monthTime
* @param
headIds
* @param m
aterialIds
* @param
name
* @param m
odel
* @param mpList
* @param request
* @return
* @throws Exception
*/
@PostMapping
(
value
=
"/findByAll"
)
public
BaseResponseInfo
findByAll
(
@RequestParam
(
"currentPage"
)
Integer
currentPage
,
...
...
@@ -278,7 +279,7 @@ public class DepotItemController {
List
<
DepotItemVo4WithInfoEx
>
dataList
=
depotItemService
.
findByAll
(
StringUtil
.
toNull
(
name
),
StringUtil
.
toNull
(
model
),
timeB
,(
currentPage
-
1
)*
pageSize
,
pageSize
);
String
[]
mpArr
=
mpList
.
split
(
","
);
int
total
=
depotItemService
.
findByAllCount
(
StringUtil
.
toNull
(
name
),
timeB
,
StringUtil
.
toNull
(
model
));
int
total
=
depotItemService
.
findByAllCount
(
StringUtil
.
toNull
(
name
),
StringUtil
.
toNull
(
model
)
,
timeB
);
map
.
put
(
"total"
,
total
);
//存放数据json数组
JSONArray
dataArray
=
new
JSONArray
();
...
...
Write
Preview
Supports
Markdown
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