/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  org.springframework.beans.factory.annotation.Autowired
 *  org.springframework.stereotype.Repository
 */
package com.hst.common.dao.imp;

import com.hst.framework.common.HstSqlMapClientTemplate;
import com.hst.framework.dao.BaseDao;
import com.hst.taxService.domain.DhXmlSaveDom;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class SaveDhXmlDaoImp
implements BaseDao {
    @Autowired
    private HstSqlMapClientTemplate sqlMapClientTemplate;

    public void saveDhXml(List<DhXmlSaveDom> list) throws Exception {
        this.sqlMapClientTemplate.update("deleteNsfwSwjgWhSxt");
        for (DhXmlSaveDom dom : list) {
            this.sqlMapClientTemplate.insert("insertNsfwSwjgWhSxt", dom);
        }
    }
}
