场景模型测试工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scmy/psdc-business/src/main/java/com/psdc/mapper/PsdcTimerMapper.java

56 lines
1.1 KiB

package com.psdc.mapper;
import java.util.List;
import com.psdc.entity.PsdcTimer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
/**
* 定时控制任务表;(psdc_timer)表数据库访问层
* @date : 2023-5-10
*/
@Mapper
public interface PsdcTimerMapper{
/**
* 通过ID查询单条数据
*
* @param timerId 主键
* @return 实例对象
*/
PsdcTimer queryById(Integer timerId);
/**
* 分页查询指定行数据
*
* @param psdcTimer 查询条件
* @param pageable 分页对象
* @return 对象列表
*/
List<PsdcTimer> queryAllByLimit(PsdcTimer psdcTimer);
/**
* 新增数据
*
* @param psdcTimer 实例对象
* @return 影响行数
*/
int insert(PsdcTimer psdcTimer);
/**
* 更新数据
*
* @param psdcTimer 实例对象
* @return 影响行数
*/
int update(PsdcTimer psdcTimer);
/**
* 通过主键删除数据
*
* @param timerId 主键
* @return 影响行数
*/
int deleteById(Integer timerId);
}