www.pudn.com > liberSystem.rar > PublicService.java, change:2012-06-06,size:427b


package com.ccl.service; 
 
import java.sql.Connection; 
 
import com.ccl.util.ConnectionFactory; 
import com.ccl.util.ConnectionUtil; 
import com.ccl.util.JdbcUtil; 
 
public class PublicService { 
	 
	public void readerType_del(Object o,int id){ 
		Connection conn=ConnectionFactory.getConnection(); 
		JdbcUtil.execute("delete from readertype_t where id=?", new Object[]{id}, conn); 
		ConnectionUtil.close(conn); 
	} 
 
}