package com.ssm.manage.service.impl;

import com.ssm.core.service.impl.BaseServiceImpl;
import com.ssm.manage.dao.SsmServiceOrderDao;
import com.ssm.manage.dao.SsmServiceProjectDao;
import com.ssm.manage.entity.ServiceOrders;
import com.ssm.manage.entity.ServiceProject;
import com.ssm.manage.service.SsmServiceOrdersService;
import com.ssm.manage.service.SsmServiceProjectService;
import com.ssm.manage.service.SsmStoreSettlementService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class SsmServiceProjectServiceImpl  extends BaseServiceImpl<ServiceProject> implements SsmServiceProjectService {

    @Autowired
    private SsmServiceProjectDao dao;

    @Override
    public SsmServiceProjectDao getDao() {
        return dao;
    }

    @Override
    public int insert(ServiceProject serviceProject) {
        return dao.insert(serviceProject);
    }
}
