/*
 * 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.framework.common.HstSqlMapClientTemplate;
import com.hst.framework.util.HstEncodeUtil;
import com.hst.taxService.dao.TaxFpyjAppDao;
import com.hst.taxService.domain.TaxFpyjDomain;
import com.hst.taxService.domain.ctais2.FpyjDomain;
import java.util.HashMap;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class TaxFpyjAppDaoImp
implements TaxFpyjAppDao {
    @Autowired
    private HstSqlMapClientTemplate sqlMapClientTemplate;

    @Override
    public List<FpyjDomain> queryFpyjsqList(String wsDjhzXh) throws Exception {
        HashMap<String, String> map = new HashMap<String, String>();
        map.put("wsDjhzXh", wsDjhzXh);
        return this.sqlMapClientTemplate.queryForList("queryFpyjsqList", map);
    }

    @Override
    public List<TaxFpyjDomain> selectFpyjNsrsbhList() throws Exception {
        HashMap map = new HashMap();
        return this.sqlMapClientTemplate.queryForList("selectFpyjNsrsbhList", map);
    }

    @Override
    public void updateFpyjMess(String wsDjhzXh, String mess) throws Exception {
        HashMap<String, String> map = new HashMap<String, String>();
        map.put("wsDjhzXh", wsDjhzXh);
        map.put("mess", HstEncodeUtil.GBK2ISO(mess));
        this.sqlMapClientTemplate.update("updateNsfwWsgpFpyjsqByWsdjhzxh", map);
    }
}
