/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  org.springframework.stereotype.Service
 */
package com.hst.taxService.service.imp;

import com.hst.common.domain.TaxCommonReturnDomain;
import com.hst.common.service.imp.BaseBusinessServiceImp;
import com.hst.framework.constants.WebConstants;
import com.hst.framework.dao.BaseDao;
import com.hst.taxService.dao.imp.TaxNsfwCommonDaoImp;
import com.hst.taxService.domain.nsfw.JhxtGetYyxxZwAppDomain;
import com.hst.taxService.domain.nsfw.NsfwSaveAccAppDomain;
import com.hst.taxService.domain.nsfw.NsfwSaveBizAppDomain;
import com.hst.taxService.domain.nsfw.NsfwSaveEvaAppDomain;
import com.hst.taxService.domain.nsfw.NsfwSaveGovhallAppDomain;
import com.hst.taxService.domain.nsfw.NsfwSaveTicketAppDomain;
import com.hst.taxService.service.TaxNsfwCommonAppService;
import org.springframework.stereotype.Service;

@Service
public class TaxNsfwAppCommonServiceImp
extends BaseBusinessServiceImp
implements TaxNsfwCommonAppService {
    private BaseDao dao;

    public BaseDao getDao(String daoName) {
        this.dao = (BaseDao)WebConstants.WEB_APP_CONTEXT.getBean(daoName);
        return this.dao;
    }

    @Override
    public TaxCommonReturnDomain saveticket(NsfwSaveTicketAppDomain appDomain) throws Exception {
        return ((TaxNsfwCommonDaoImp)this.getDao("taxNsfwCommonDaoImp")).saveticket(appDomain);
    }

    @Override
    public TaxCommonReturnDomain saveacc(NsfwSaveAccAppDomain appDomain) throws Exception {
        return ((TaxNsfwCommonDaoImp)this.getDao("taxNsfwCommonDaoImp")).saveacc(appDomain);
    }

    @Override
    public TaxCommonReturnDomain saveeva(NsfwSaveEvaAppDomain appDomain) throws Exception {
        return ((TaxNsfwCommonDaoImp)this.getDao("taxNsfwCommonDaoImp")).saveeva(appDomain);
    }

    @Override
    public TaxCommonReturnDomain savegovhall(NsfwSaveGovhallAppDomain appDomain) throws Exception {
        return ((TaxNsfwCommonDaoImp)this.getDao("taxNsfwCommonDaoImp")).savegovhall(appDomain);
    }

    @Override
    public TaxCommonReturnDomain savebiz(NsfwSaveBizAppDomain appDomain) throws Exception {
        return ((TaxNsfwCommonDaoImp)this.getDao("taxNsfwCommonDaoImp")).savebiz(appDomain);
    }

    @Override
    public TaxCommonReturnDomain jhxtGetYyxxZw(JhxtGetYyxxZwAppDomain domain) throws Exception {
        return ((TaxNsfwCommonDaoImp)this.getDao("taxNsfwCommonDaoImp")).jhxtGetYyxxZw(domain);
    }
}
