|
@@ -61,7 +61,7 @@ public class GrainReserveInspectionServiceImpl extends ServiceImpl<GrainReserveI
|
61
|
61
|
if (ObjectUtils.isNotEmpty(param.getStorehouseName()))
|
62
|
62
|
wrapper.eq("bs.storehouse_name", param.getStorehouseName());
|
63
|
63
|
if (ObjectUtils.isNotEmpty(param.getWarehouseName()))
|
64
|
|
- wrapper.eq("bs.storehouse_name", param.getWarehouseName());
|
|
64
|
+ wrapper.eq("bw.warehouse_name", param.getWarehouseName());
|
65
|
65
|
wrapper.lambda().orderByDesc(GrainReserveInspection::getId);
|
66
|
66
|
return grainReserveInspectionMapper.page(new Page<>(param.getCurrent(), param.getSize()), wrapper);
|
67
|
67
|
}
|