package cn.ezhizao.project.business.taskType.service.impl;

import cn.ezhizao.project.business.taskType.domain.BizTaskTypeDetail;
import cn.ezhizao.project.business.taskType.mapper.BizTaskTypeDetailMapper;
import cn.ezhizao.project.business.taskType.service.IBizTaskTypeDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 任务项目流程Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-07
 */
@Service
public class BizTaskTypeDetailServiceImpl  extends ServiceImpl<BizTaskTypeDetailMapper, BizTaskTypeDetail> implements IBizTaskTypeDetailService
{
    @Resource
    private BizTaskTypeDetailMapper bizTaskTypeDetailMapper;

    /**
     * 查询任务项目流程列表
     *
     * @param bizTaskTypeDetail 任务项目流程
     * @return 任务项目流程
     */
    @Override
    public List<BizTaskTypeDetail> getList(BizTaskTypeDetail bizTaskTypeDetail)
    {
        return bizTaskTypeDetailMapper.getList(bizTaskTypeDetail);
    }

    /**
     * 物理删除
     * @param bizTaskTypeDetail
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizTaskTypeDetail bizTaskTypeDetail){ return bizTaskTypeDetailMapper.physicalDelete(bizTaskTypeDetail); };

}
