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 { default List selectList(PlanItemCategoryReqVO reqVO) { return selectList(new LambdaQueryWrapperX() .likeIfPresent(PlanItemCategoryEntity::getLabel, reqVO.getLabel())); } }