package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmSalesmanDao;
import com.ssm.manage.dao.SsmServiceOrderDao;
import com.ssm.manage.entity.Salesman;
import com.ssm.manage.entity.ServiceOrder;
import com.ssm.manage.mapper.SalesmanMapper;
import com.ssm.manage.mapper.ServiceOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SsmServiceOrderDaoImpl  extends BaseDaoImpl<ServiceOrder> implements SsmServiceOrderDao {

    @Autowired
    private ServiceOrderMapper mapper;

    @Override
    public ServiceOrderMapper getMapper() {
        return mapper;
    }

    @Override
    public int deleteall(Long storeId) {
        return mapper.deleteall(storeId);
    }
}
