|
|
@@ -34,21 +34,21 @@ public class VentilationOperationController {
|
|
34
|
34
|
@ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
|
|
35
|
35
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
|
|
36
|
36
|
@ApiImplicitParam(name = "orgId", value = "库点编码", paramType = "query"),
|
|
37
|
|
- @ApiImplicitParam(name = "vcfcode", value = "仓库名称", paramType = "query")
|
|
|
37
|
+ @ApiImplicitParam(name = "cfbh", value = "仓房编号", paramType = "query"),
|
|
|
38
|
+ @ApiImplicitParam(name = "createTime", value = "登记时间", paramType = "query"),
|
|
|
39
|
+ @ApiImplicitParam(name = "cfmc", value = "仓房ID", paramType = "query"),
|
|
|
40
|
+ @ApiImplicitParam(name = "funcType", value = "功能类型(1:作业开始,2:作业结束)", paramType = "query")
|
|
38
|
41
|
})
|
|
39
|
|
- public ResponseEntity<PageInfo<TVentilationOperation>> getList(Integer pageNum, Integer pageSize, String orgId, String cfbh,String createTime,String cfmc) {
|
|
|
42
|
+ public ResponseEntity<PageInfo<TVentilationOperation>> getList(Integer pageNum, Integer pageSize,
|
|
|
43
|
+ String orgId, String cfbh, String createTime, String cfmc, String funcType) {
|
|
40
|
44
|
List<TVentilationOperation> list = null;
|
|
41
|
45
|
try {
|
|
42
|
|
- list = ventilationOperationService.getList(pageNum,pageSize,orgId,cfbh,createTime,cfmc);
|
|
|
46
|
+ list = ventilationOperationService.getList(pageNum,pageSize,orgId,cfbh,createTime,cfmc, funcType);
|
|
43
|
47
|
} catch (Exception e) {
|
|
44
|
48
|
e.printStackTrace();
|
|
45
|
49
|
ResponseEntity.failed(e.getMessage());
|
|
46
|
50
|
}
|
|
47
|
51
|
PageInfo<TVentilationOperation> pageInfo = new PageInfo<TVentilationOperation>(list);
|
|
48
|
|
- /*if(pageInfo.getList()!=null && pageInfo.getList().size()>0){
|
|
49
|
|
- pageInfo.setStartRow(pageInfo.getStartRow()+1);
|
|
50
|
|
- pageInfo.setEndRow(pageInfo.getEndRow()+1);
|
|
51
|
|
- }*/
|
|
52
|
52
|
return ResponseEntity.ok(pageInfo);
|
|
53
|
53
|
}
|
|
54
|
54
|
|