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

import com.hst.business.domain.XtGt3LogDomain;
import com.hst.framework.common.HstSqlMapClientTemplate;
import com.hst.taxService.dao.TaxCommonDao;
import com.hst.taxService.domain.gt3.Gt3LogDataDomain;
import java.util.HashMap;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class TaxCommonDaoImp
implements TaxCommonDao {
    @Autowired
    private HstSqlMapClientTemplate sqlMapClientTemplate;

    @Override
    public List<XtGt3LogDomain> queryGt3LogList(String tranId, String rq) throws Exception {
        HashMap<String, String> map = new HashMap<String, String>();
        map.put("tranId", tranId);
        map.put("rq", rq);
        return this.sqlMapClientTemplate.queryForList("queryGt3LogList", map);
    }

    @Override
    public void saveLogData(Gt3LogDataDomain domain) throws Exception {
        this.sqlMapClientTemplate.insert("insertGt3LogData", domain);
    }
}
