add:待检区点位大屏

This commit is contained in:
zhangzq
2025-04-10 15:30:18 +08:00
parent 1cecbe8496
commit a969d2f707
3 changed files with 35 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ public class BstIvtPackageinfoivtController {
* @param page 分页参数
*/
@GetMapping
@SaIgnore
@Log("查询点位库存")
public ResponseEntity<Object> query(@RequestParam Map whereJson, PageQuery page) {
return new ResponseEntity<>(TableDataInfo.build(bstIvtPackageinfoivtService.queryAll(whereJson, page)), HttpStatus.OK);

View File

@@ -102,6 +102,7 @@ public class BstIvtPackageinfoivtServiceImpl extends ServiceImpl<BstIvtPackagein
String isUsed = MapUtil.getStr(whereJson, "is_used");
String pointCode = MapUtil.getStr(whereJson, "point_code");
String packageInfoArea = MapUtil.getStr(whereJson, "packageinfo_area");
String container_name = MapUtil.getStr(whereJson, "container_name");
String ivtStatus = MapUtil.getStr(whereJson, "ivt_status");
if (StringUtils.isNotEmpty(isUsed)) {
queryWrapper.eq(BstIvtPackageinfoivt::getIs_used, isUsed);
@@ -109,6 +110,9 @@ public class BstIvtPackageinfoivtServiceImpl extends ServiceImpl<BstIvtPackagein
if (StringUtils.isNotEmpty(pointCode)) {
queryWrapper.like(BstIvtPackageinfoivt::getPoint_code, pointCode);
}
if (StringUtils.isNotEmpty(container_name)) {
queryWrapper.eq(BstIvtPackageinfoivt::getContainer_name, container_name);
}
if (StringUtils.isNotEmpty(packageInfoArea)) {
queryWrapper.eq(BstIvtPackageinfoivt::getPoint_status, packageInfoArea);
}