/*
 * 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.common.domain.TaxCommonReturnDomain;
import com.hst.framework.common.HstSqlMapClientTemplate;
import com.hst.taxService.dao.TaxCtais2AppDao;
import com.hst.taxService.domain.ctais2.FpfskcxxAppDomain;
import com.hst.taxService.domain.ctais2.FpfskcxxDomain;
import com.hst.taxService.domain.ctais2.FpfskcxxReturnDomain;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class TaxCtais2FpfskcxxAppDaoImp
implements TaxCtais2AppDao {
    @Autowired
    private HstSqlMapClientTemplate sqlMapClientTemplate;

    public TaxCommonReturnDomain query(FpfskcxxAppDomain domain) throws Exception {
        FpfskcxxReturnDomain returnDomain = new FpfskcxxReturnDomain();
        HashMap<String, String> map = new HashMap<String, String>();
        map.put("nsrsbh", domain.getNsrsbh());
        map.put("czryDm", domain.getCzryDm());
        map.put("fpkcxxList", null);
        this.sqlMapClientTemplate.queryForObjectByCurr("queryPFpkcxx", "fpkcxxList", map);
        ArrayList<FpfskcxxDomain> dataList = new ArrayList();
        dataList = (List)map.get("fpkcxxList");
        returnDomain.setDataList(dataList);
        returnDomain.setCode("00");
        returnDomain.setMess("");
        return returnDomain;
    }
}
