package com.chinacreator.process.dao;

import java.sql.SQLException;
import org.springframework.stereotype.Component;
import com.chinacreator.process.util.DataSource;
import com.frameworkset.common.poolman.SQLExecutor;

@Component
public class CSactiveDao {

	public void update(String id,String resultcode,String errorInfo,String state) throws SQLException{
		String sql = "update TD_CSACTIVITY_HANDLE set RESULTCODE=? ,ERRORINFO =? ,state = ?,UPDATETIME=sysdate where id = ?";
		SQLExecutor.updateWithDBName(DataSource.NET3G, sql, resultcode,errorInfo,state,id);
	}
}
