提交 | 用户 | 时间
|
7fd198
|
1 |
package com.iailab.module.model.mcs.pre.dao; |
潘 |
2 |
|
|
3 |
import com.iailab.framework.common.pojo.PageResult; |
|
4 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
5 |
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
58c749
|
6 |
import com.iailab.framework.tenant.core.db.dynamic.TenantDS; |
7fd198
|
7 |
import com.iailab.module.model.mcs.pre.entity.MmItemTypeEntity; |
潘 |
8 |
import com.iailab.module.model.mcs.pre.vo.MmItemTypePageReqVO; |
|
9 |
import org.apache.ibatis.annotations.Mapper; |
|
10 |
|
|
11 |
import java.util.List; |
|
12 |
|
|
13 |
/** |
|
14 |
* @author PanZhibao |
|
15 |
* @date 2021年04月23日 15:23 |
|
16 |
*/ |
58c749
|
17 |
@TenantDS |
7fd198
|
18 |
@Mapper |
潘 |
19 |
public interface MmItemTypeDao extends BaseMapperX<MmItemTypeEntity> { |
|
20 |
|
|
21 |
default PageResult<MmItemTypeEntity> selectPage(MmItemTypePageReqVO reqVO) { |
|
22 |
return selectPage(reqVO, new LambdaQueryWrapperX<MmItemTypeEntity>() |
|
23 |
.likeIfPresent(MmItemTypeEntity::getItemtypename, reqVO.getItemtypename()) |
|
24 |
.orderByDesc(MmItemTypeEntity::getItemtypename)); |
|
25 |
} |
|
26 |
|
|
27 |
List<MmItemTypeEntity> getItemTypeByItemId(String itemId); |
|
28 |
} |