package admin.modules.system.service.mapper;

import admin.base.CommonMapper;
import admin.modules.system.domain.SysUsersJobs;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description: SysUsersJobsMapper
 * @date: 2023/7/28 10:48
 * @author: wk
 * @version: 1.0
 */
@Repository
public interface SysUsersJobsMapper extends CommonMapper<SysUsersJobs> {
    void deleteByUserId(Long id);

    List<SysUsersJobs> getByUser(@Param("userId") Long userId);
}
