* @param doc
*/
public int insertDoc(Doc doc) {
String sql = "insert into bu_doc(docid,title,content,digest,modify_user,del,reporter,last_modify,url,type,keyword,model_name,status) "
+ "values(:docid,:title,:content,:digest,:modifyUser,'0',:reporter,now(),:url,:type,:keyword,:modelName,status)";
SqlParameterSource paramMap = new BeanPropertySqlParameterSource(doc);
return namedParameterJdbcTemplate.update(sql, paramMap);
}