|
|
@@ -53,11 +53,11 @@ public class StorageProductFcbgzController {
|
|
53
|
53
|
@ApiImplicitParam(name = "wareId", value = "货位id", paramType = "query"),
|
|
54
|
54
|
@ApiImplicitParam(name = "searchStartDate", value = "开始日期", paramType = "query"),
|
|
55
|
55
|
@ApiImplicitParam(name = "searchEndDate", value = "结束日期", paramType = "query"),
|
|
56
|
|
- @ApiImplicitParam(name = "orgId", value = "组织机构代码", paramType = "query")
|
|
57
|
|
-
|
|
|
56
|
+ @ApiImplicitParam(name = "orgId", value = "组织机构代码", paramType = "query"),
|
|
|
57
|
+ @ApiImplicitParam(name = "zylx", value = "作业类型(0:入库,1:出库)", paramType = "query")
|
|
58
|
58
|
})
|
|
59
|
59
|
public PageInfo<StorageProductFcbgz> getProductList(Integer pageNum, Integer pageSize,
|
|
60
|
|
- String houseId, String wareId, String searchStartDate, String searchEndDate, Integer orgId){
|
|
|
60
|
+ String houseId, String wareId, String searchStartDate, String searchEndDate, Integer orgId, String zylx){
|
|
61
|
61
|
StorageProductFcbgzExample storageProductFcbgzExample = new StorageProductFcbgzExample();
|
|
62
|
62
|
StorageProductFcbgzExample.Criteria criteria = storageProductFcbgzExample.createCriteria();
|
|
63
|
63
|
if(ParameterUtil.isnotnull(houseId)){
|
|
|
@@ -65,10 +65,13 @@ public class StorageProductFcbgzController {
|
|
65
|
65
|
}
|
|
66
|
66
|
if(ParameterUtil.isnotnull(wareId)){
|
|
67
|
67
|
criteria.andWarehouseIdEqualTo(wareId);
|
|
68
|
|
- }
|
|
|
68
|
+ }
|
|
69
|
69
|
if(ParameterUtil.isnotnull(orgId)){
|
|
70
|
70
|
criteria.andOrgIdEqualTo(orgId);
|
|
71
|
71
|
}
|
|
|
72
|
+ if(ParameterUtil.isnotnull(zylx)){
|
|
|
73
|
+ criteria.andZylxEqualTo(zylx);
|
|
|
74
|
+ }
|
|
72
|
75
|
|
|
73
|
76
|
if(ParameterUtil.isnotnull(searchStartDate) && ParameterUtil.isnotnull(searchEndDate)){
|
|
74
|
77
|
Date starDate = ParameterUtil.string2datetime(searchStartDate + " 00:00:00");
|
|
|
@@ -91,11 +94,10 @@ public class StorageProductFcbgzController {
|
|
91
|
94
|
@RequestMapping(value = "/getNumberList", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
92
|
95
|
@ApiOperation(value="查询库存数量列表", notes = "查询库存数量信息列表,支持分页")
|
|
93
|
96
|
@ApiImplicitParams({
|
|
94
|
|
- @ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
|
|
95
|
|
- @ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
|
|
96
|
|
- @ApiImplicitParam(name = "houseId", value = "仓房id", paramType = "query"),
|
|
97
|
|
- @ApiImplicitParam(name = "wareId", value = "货位id", paramType = "query")
|
|
98
|
|
-
|
|
|
97
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
|
|
|
98
|
+ @ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
|
|
|
99
|
+ @ApiImplicitParam(name = "houseId", value = "仓房id", paramType = "query"),
|
|
|
100
|
+ @ApiImplicitParam(name = "wareId", value = "货位id", paramType = "query")
|
|
99
|
101
|
})
|
|
100
|
102
|
public PageInfo<StorageProductKcsl> getNumberList(Integer pageNum, Integer pageSize,
|
|
101
|
103
|
Integer houseId, Integer wareId, Integer orgId){
|