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

import java.util.List;
import javax.annotation.Resource;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.business.workOrder.mapper.BizWorkOrderRecordMapper;
import cn.ezhizao.project.business.workOrder.domain.BizWorkOrderRecord;
import cn.ezhizao.project.business.workOrder.service.IBizWorkOrderRecordService;

/**
 * 工单完成记录Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-10
 */
@Service
public class BizWorkOrderRecordServiceImpl  extends ServiceImpl<BizWorkOrderRecordMapper, BizWorkOrderRecord> implements IBizWorkOrderRecordService
{
    @Resource
    private BizWorkOrderRecordMapper bizWorkOrderRecordMapper;

    /**
     * 查询工单完成记录列表
     *
     * @param bizWorkOrderRecord 工单完成记录
     * @return 工单完成记录
     */
    @Override
    public List<BizWorkOrderRecord> getList(BizWorkOrderRecord bizWorkOrderRecord)
    {
        return bizWorkOrderRecordMapper.getList(bizWorkOrderRecord);
    }

    /**
     * 物理删除
     * @param bizWorkOrderRecord
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizWorkOrderRecord bizWorkOrderRecord){ return bizWorkOrderRecordMapper.physicalDelete(bizWorkOrderRecord); };

}
