| | |
| | | package com.iailab.module.model.mcs.sche.dao; |
| | | |
| | | import com.iailab.framework.common.pojo.PageResult; |
| | | 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.model.mcs.sche.entity.StScheduleSchemeEntity; |
| | | import com.iailab.module.model.mcs.sche.vo.StScheduleSchemePageReqVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.Map; |
| | |
| | | * @author PanZhibao |
| | | * @date 2021年07月20日 9:08 |
| | | */ |
| | | @TenantDS |
| | | @Mapper |
| | | public interface StScheduleSchemeDao extends BaseMapperX<StScheduleSchemeEntity> { |
| | | |
| | | /** |
| | | * saveScheduleTime |
| | | * |
| | | * @param map |
| | | */ |
| | | void saveScheduleTime(Map map); |
| | | default PageResult<StScheduleSchemeEntity> selectPage(StScheduleSchemePageReqVO reqVO) { |
| | | return selectPage(reqVO, new LambdaQueryWrapperX<StScheduleSchemeEntity>() |
| | | .likeIfPresent(StScheduleSchemeEntity::getName, reqVO.getName()) |
| | | .orderByDesc(StScheduleSchemeEntity::getCreateTime)); |
| | | } |
| | | } |