📄 indexstatrowmapper.java.svn-base
字号:
package com.srit.gcz.bean.rowmapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.srit.gcz.bean.IndexFrequency;
import com.srit.gcz.bean.IndexStat;
public class IndexStatRowMapper implements RowMapper {
public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
IndexStat bean = new IndexStat();
bean.setId(new Integer(rs.getInt("id")));
bean.setName(rs.getString("name"));
return bean;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -