提交 | 用户 | 时间
|
8c1646
|
1 |
package com.iailab.module.data.plan.category.dao; |
潘 |
2 |
|
|
3 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
4 |
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
|
5 |
import com.iailab.framework.tenant.core.db.dynamic.TenantDS; |
|
6 |
|
|
7 |
import com.iailab.module.data.plan.category.entity.PlanItemCategoryEntity; |
|
8 |
import com.iailab.module.data.plan.category.vo.PlanItemCategoryReqVO; |
|
9 |
import org.apache.ibatis.annotations.Mapper; |
|
10 |
|
|
11 |
import java.util.List; |
|
12 |
|
|
13 |
/** |
|
14 |
* @author PanZhibao |
|
15 |
* @Description |
|
16 |
* @createTime 2024年11月01日 |
|
17 |
*/ |
|
18 |
@TenantDS |
|
19 |
@Mapper |
|
20 |
public interface PlanItemCategoryDao extends BaseMapperX<PlanItemCategoryEntity> { |
|
21 |
|
|
22 |
default List<PlanItemCategoryEntity> selectList(PlanItemCategoryReqVO reqVO) { |
|
23 |
return selectList(new LambdaQueryWrapperX<PlanItemCategoryEntity>() |
|
24 |
.likeIfPresent(PlanItemCategoryEntity::getLabel, reqVO.getLabel())); |
|
25 |
} |
|
26 |
} |