|
|
@@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
10
|
10
|
import org.springframework.web.bind.annotation.RestController;
|
|
11
|
11
|
|
|
12
|
12
|
import com.chinaitop.depot.unissoft.model.ResponseEntity;
|
|
|
13
|
+import com.chinaitop.depot.yjbj.model.Ccgc;
|
|
13
|
14
|
import com.chinaitop.depot.yjbj.model.Chbj;
|
|
14
|
15
|
import com.chinaitop.depot.yjbj.model.Dbtyj;
|
|
15
|
16
|
import com.chinaitop.depot.yjbj.model.Hybhgclzrkyj;
|
|
|
@@ -17,6 +18,7 @@ import com.chinaitop.depot.yjbj.model.Jksbgz;
|
|
17
|
18
|
import com.chinaitop.depot.yjbj.model.Jybgcqyj;
|
|
18
|
19
|
import com.chinaitop.depot.yjbj.model.Kjkcyj;
|
|
19
|
20
|
import com.chinaitop.depot.yjbj.model.Kkyj;
|
|
|
21
|
+import com.chinaitop.depot.yjbj.model.Rkzygc;
|
|
20
|
22
|
import com.chinaitop.depot.yjbj.model.StorageAlarmRecordWithBLOBs;
|
|
21
|
23
|
import com.chinaitop.depot.yjbj.model.Thprkyj;
|
|
22
|
24
|
import com.chinaitop.depot.yjbj.model.Zkycbj;
|
|
|
@@ -300,6 +302,54 @@ public class YjbjController {
|
|
300
|
302
|
}
|
|
301
|
303
|
}
|
|
302
|
304
|
|
|
|
305
|
+ @RequestMapping(value="/getRkzygcPageList", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
|
306
|
+ @ApiOperation(value="查询入库作业过程列表", notes = "支持分页")
|
|
|
307
|
+ @ApiImplicitParams({
|
|
|
308
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
|
|
|
309
|
+ @ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
|
|
|
310
|
+ @ApiImplicitParam(name = "rkcl", value = "入库车辆", paramType = "query"),
|
|
|
311
|
+ @ApiImplicitParam(name = "orgId", value = "库ID", required=true, paramType = "query")
|
|
|
312
|
+ })
|
|
|
313
|
+ public ResponseEntity getRkzygcPageList(Integer pageNum, Integer pageSize, Integer orgId, String rkcl) {
|
|
|
314
|
+
|
|
|
315
|
+ PageInfo<Rkzygc> pageInfo = null;
|
|
|
316
|
+ try {
|
|
|
317
|
+ if (pageNum != null && pageSize != null) {
|
|
|
318
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
319
|
+ }
|
|
|
320
|
+ List<Rkzygc> list = yjbjService.selectRkzygc(orgId, rkcl);
|
|
|
321
|
+ pageInfo = new PageInfo<>(list);
|
|
|
322
|
+ return ResponseEntity.ok(pageInfo);
|
|
|
323
|
+ } catch (Exception e) {
|
|
|
324
|
+ log.error(e.getMessage(), e);
|
|
|
325
|
+ return ResponseEntity.failed("查询失败:" + e.getMessage());
|
|
|
326
|
+ }
|
|
|
327
|
+ }
|
|
|
328
|
+
|
|
|
329
|
+ @RequestMapping(value="/getCcgcPageList", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
|
330
|
+ @ApiOperation(value="查询存储过程列表", notes = "支持分页")
|
|
|
331
|
+ @ApiImplicitParams({
|
|
|
332
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
|
|
|
333
|
+ @ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
|
|
|
334
|
+ @ApiImplicitParam(name = "cfmc", value = "仓房名称", paramType = "query"),
|
|
|
335
|
+ @ApiImplicitParam(name = "orgId", value = "库ID", required=true, paramType = "query")
|
|
|
336
|
+ })
|
|
|
337
|
+ public ResponseEntity getCcgcPageList(Integer pageNum, Integer pageSize, Integer orgId, String cfmc) {
|
|
|
338
|
+
|
|
|
339
|
+ PageInfo<Ccgc> pageInfo = null;
|
|
|
340
|
+ try {
|
|
|
341
|
+ if (pageNum != null && pageSize != null) {
|
|
|
342
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
343
|
+ }
|
|
|
344
|
+ List<Ccgc> list = yjbjService.selectCcgc(orgId, cfmc);
|
|
|
345
|
+ pageInfo = new PageInfo<>(list);
|
|
|
346
|
+ return ResponseEntity.ok(pageInfo);
|
|
|
347
|
+ } catch (Exception e) {
|
|
|
348
|
+ log.error(e.getMessage(), e);
|
|
|
349
|
+ return ResponseEntity.failed("查询失败:" + e.getMessage());
|
|
|
350
|
+ }
|
|
|
351
|
+ }
|
|
|
352
|
+
|
|
303
|
353
|
@RequestMapping(value="/getCljl", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
304
|
354
|
@ApiOperation(value="查询处理记录", notes = "")
|
|
305
|
355
|
@ApiImplicitParams({
|