日期:2014-05-16 浏览次数:20380 次
public boolean saveStdCourseByScId(int uid, int cid) { String sql = "insert into 7east_usercourse_right(userid,courseid) values(?,?) "; Object[] args = new Object[] { uid, cid }; getJdbcTemplate().update(sql,args); return true; }