package com.ym.mec.biz.service.impl;

import com.ym.mec.biz.dal.dao.SysPaymentConfigDao;
import com.ym.mec.biz.dal.entity.SysPaymentConfig;
import com.ym.mec.biz.service.SysPaymentConfigService;
import com.ym.mec.common.dal.BaseDAO;
import com.ym.mec.common.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysPaymentConfigServiceImpl extends BaseServiceImpl<Integer, SysPaymentConfig> implements SysPaymentConfigService {
    @Autowired
    private SysPaymentConfigDao sysPaymentConfigDao;

    @Override
    public BaseDAO<Integer, SysPaymentConfig> getDAO() {
        return sysPaymentConfigDao;
    }

    @Override
    public SysPaymentConfig findPaymentConfigByOrganId(Integer organId) {
        return sysPaymentConfigDao.findPaymentConfigByOrganId(organId);
    }
}
