package com.thhy.staff.modules.biz.duty.mapper;
|
|
import com.thhy.staff.modules.biz.duty.entity.Duty;
|
import com.thhy.staff.modules.biz.duty.entity.DutyListVo;
|
import org.springframework.stereotype.Component;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* Mapper 接口
|
* @author zhang_xiao_bo
|
* @since 2023-04-06 09:30:38
|
*/
|
@Component
|
public interface DutyMapper {
|
|
|
Duty queryById(Serializable dutyId);
|
|
Integer queryVersionById(Serializable dutyId);
|
|
List<DutyListVo> findList(Duty duty);
|
|
List<Duty> findAll();
|
|
void insert(Duty duty);
|
|
void update(Duty duty);
|
|
void deletelogic(Serializable dutyId);
|
|
void deleteById(Serializable dutyId);
|
}
|