package com.iailab.module.data.plan.category.dao;
|
|
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
|
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
|
import com.iailab.framework.tenant.core.db.dynamic.TenantDS;
|
|
import com.iailab.module.data.plan.category.entity.PlanItemCategoryEntity;
|
import com.iailab.module.data.plan.category.vo.PlanItemCategoryReqVO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2024年11月01日
|
*/
|
@TenantDS
|
@Mapper
|
public interface PlanItemCategoryDao extends BaseMapperX<PlanItemCategoryEntity> {
|
|
default List<PlanItemCategoryEntity> selectList(PlanItemCategoryReqVO reqVO) {
|
return selectList(new LambdaQueryWrapperX<PlanItemCategoryEntity>()
|
.likeIfPresent(PlanItemCategoryEntity::getLabel, reqVO.getLabel()));
|
}
|
}
|