|
@@ -1,13 +1,11 @@
|
|
|
package cn.iocoder.yudao.module.iscs.dal.mysql.materialsproperty;
|
|
package cn.iocoder.yudao.module.iscs.dal.mysql.materialsproperty;
|
|
|
|
|
|
|
|
-import java.util.*;
|
|
|
|
|
-
|
|
|
|
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
|
|
-import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|
|
|
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
|
|
|
|
+import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|
|
|
|
+import cn.iocoder.yudao.module.iscs.controller.admin.materialsproperty.vo.MaterialsPropertyPageReqVO;
|
|
|
import cn.iocoder.yudao.module.iscs.dal.dataobject.materialsproperty.MaterialsPropertyDO;
|
|
import cn.iocoder.yudao.module.iscs.dal.dataobject.materialsproperty.MaterialsPropertyDO;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
-import cn.iocoder.yudao.module.iscs.controller.admin.materialsproperty.vo.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 物资属性项 Mapper
|
|
* 物资属性项 Mapper
|
|
@@ -19,6 +17,7 @@ public interface MaterialsPropertyMapper extends BaseMapperX<MaterialsPropertyDO
|
|
|
|
|
|
|
|
default PageResult<MaterialsPropertyDO> selectPage(MaterialsPropertyPageReqVO reqVO) {
|
|
default PageResult<MaterialsPropertyDO> selectPage(MaterialsPropertyPageReqVO reqVO) {
|
|
|
return selectPage(reqVO, new LambdaQueryWrapperX<MaterialsPropertyDO>()
|
|
return selectPage(reqVO, new LambdaQueryWrapperX<MaterialsPropertyDO>()
|
|
|
|
|
+ .eqIfPresent(MaterialsPropertyDO::getId, reqVO.getId())
|
|
|
.likeIfPresent(MaterialsPropertyDO::getPropertyName, reqVO.getPropertyName())
|
|
.likeIfPresent(MaterialsPropertyDO::getPropertyName, reqVO.getPropertyName())
|
|
|
.eqIfPresent(MaterialsPropertyDO::getRemark, reqVO.getRemark())
|
|
.eqIfPresent(MaterialsPropertyDO::getRemark, reqVO.getRemark())
|
|
|
.eqIfPresent(MaterialsPropertyDO::getStatus, reqVO.getStatus())
|
|
.eqIfPresent(MaterialsPropertyDO::getStatus, reqVO.getStatus())
|
|
@@ -26,4 +25,4 @@ public interface MaterialsPropertyMapper extends BaseMapperX<MaterialsPropertyDO
|
|
|
.orderByDesc(MaterialsPropertyDO::getId));
|
|
.orderByDesc(MaterialsPropertyDO::getId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
|
|
+}
|