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.BizWorkOrderDetailMapper;
import cn.ezhizao.project.business.workOrder.domain.BizWorkOrderDetail;
import cn.ezhizao.project.business.workOrder.service.IBizWorkOrderDetailService;

/**
 * 工单明细Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-08
 */
@Service
public class BizWorkOrderDetailServiceImpl  extends ServiceImpl<BizWorkOrderDetailMapper, BizWorkOrderDetail> implements IBizWorkOrderDetailService
{
    @Resource
    private BizWorkOrderDetailMapper bizWorkOrderDetailMapper;

    /**
     * 查询工单明细列表
     *
     * @param bizWorkOrderDetail 工单明细
     * @return 工单明细
     */
    @Override
    public List<BizWorkOrderDetail> getList(BizWorkOrderDetail bizWorkOrderDetail)
    {
        return bizWorkOrderDetailMapper.getList(bizWorkOrderDetail);
    }

    /**
     * 物理删除
     * @param bizWorkOrderDetail
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizWorkOrderDetail bizWorkOrderDetail){ return bizWorkOrderDetailMapper.physicalDelete(bizWorkOrderDetail); };

}
