|
|
@@ -62,14 +62,13 @@ public class InsectPestDetectionController {
|
|
62
|
62
|
@ApiImplicitParam(name = "iEndTdh", value = "结束通道号", paramType = "query"),
|
|
63
|
63
|
@ApiImplicitParam(name = "orgId", value = "组织机构id", paramType = "query")
|
|
64
|
64
|
})
|
|
65
|
|
- public ResponseEntity<PageInfo<Map<String, Object>>> getList(Integer pageNum, Integer pageSize, String vCfCode,
|
|
66
|
|
- Integer iBeginTdh, Integer iEndTdh,String orgId) {
|
|
|
65
|
+ public ResponseEntity<PageInfo<Map<String, Object>>> getList(Integer pageNum, Integer pageSize, String vCfCode, Integer iBeginTdh, Integer iEndTdh,String orgId, String startTime, String endTime) {
|
|
67
|
66
|
List<Map<String, Object>> list = null;
|
|
68
|
67
|
try {
|
|
69
|
68
|
if (null != pageNum && null != pageSize) {
|
|
70
|
69
|
PageHelper.startPage(pageNum, pageSize);
|
|
71
|
70
|
}
|
|
72
|
|
- list = insectPestDetectionService.getList(vCfCode, iBeginTdh, iEndTdh,orgId);
|
|
|
71
|
+ list = insectPestDetectionService.getList(vCfCode, iBeginTdh, iEndTdh,orgId,startTime,endTime);
|
|
73
|
72
|
} catch (Exception e) {
|
|
74
|
73
|
e.printStackTrace();
|
|
75
|
74
|
return ResponseEntity.failed("查询失败");
|