|
@@ -18,7 +18,9 @@ public interface IotSapStockMapper extends BaseMapperX<IotSapStockDO> {
|
|
|
default PageResult<IotSapStockDO> selectPage(IotSapStockPageReqVO reqVO) {
|
|
|
return selectPage(reqVO, new LambdaQueryWrapperX<IotSapStockDO>()
|
|
|
.eqIfPresent(IotSapStockDO::getDeptId, reqVO.getDeptId())
|
|
|
+ .eqIfPresent(IotSapStockDO::getFactoryId, reqVO.getFactoryId())
|
|
|
.eqIfPresent(IotSapStockDO::getFactory, reqVO.getFactory())
|
|
|
+ .eqIfPresent(IotSapStockDO::getStorageLocationId, reqVO.getStorageLocationId())
|
|
|
.eqIfPresent(IotSapStockDO::getProjectDepartment, reqVO.getProjectDepartment())
|
|
|
.eqIfPresent(IotSapStockDO::getMaterialCode, reqVO.getMaterialCode())
|
|
|
.likeIfPresent(IotSapStockDO::getMaterialName, reqVO.getMaterialName())
|
|
@@ -28,6 +30,7 @@ public interface IotSapStockMapper extends BaseMapperX<IotSapStockDO> {
|
|
|
.eqIfPresent(IotSapStockDO::getUnitPrice, reqVO.getUnitPrice())
|
|
|
.eqIfPresent(IotSapStockDO::getUnit, reqVO.getUnit())
|
|
|
.eqIfPresent(IotSapStockDO::getSafetyStock, reqVO.getSafetyStock())
|
|
|
+ .eqIfPresent(IotSapStockDO::getStorageAreaId, reqVO.getStorageAreaId())
|
|
|
.eqIfPresent(IotSapStockDO::getShelvesId, reqVO.getShelvesId())
|
|
|
.eqIfPresent(IotSapStockDO::getCargoLocationId, reqVO.getCargoLocationId())
|
|
|
.eqIfPresent(IotSapStockDO::getType, reqVO.getType())
|