package org.springblade.system.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.springblade.system.entity.UserPwdstrategy;
|
|
/**
|
* 用户密码策略管理表(UserPwdstrategy)表数据库访问层
|
*
|
* @author makejava
|
* @since 2023-03-22 15:24:46
|
*/
|
public interface UserPwdstrategyMapper extends BaseMapper<UserPwdstrategy> {
|
|
/**
|
* 通过ID查询单条数据
|
*
|
* @param id 主键
|
* @return 实例对象
|
*/
|
UserPwdstrategy queryById(Long id);
|
|
/**
|
* 统计总行数
|
*
|
* @param UserPwdstrategy 查询条件
|
* @return 总行数
|
*/
|
long count(UserPwdstrategy UserPwdstrategy);
|
|
/**
|
* 修改数据
|
*
|
* @param UserPwdstrategy 实例对象
|
* @return 影响行数
|
*/
|
int update(UserPwdstrategy UserPwdstrategy);
|
|
/**
|
* 通过主键删除数据
|
*
|
* @param id 主键
|
* @return 影响行数
|
*/
|
int deleteById(Long id);
|
|
}
|