public boolean addQuestion(Question question) {
		Connection conn = ConnectionFactory.getConnection();
		PreparedStatement pstmt=null ;
		String sql = "INSERT INTO question(s_id, q_type,"
			+"q_head, q_body, q_result, q_img, q_jdtz, q_order) "
			+"VALUES(?, ?, ?,?, ?,?,?,?)";
		try {
			pstmt= conn.prepareStatement(sql);
			pstmt.setLong(1, question.getSurvey());
			pstmt.setLong(2, question.getQType());
			pstmt.setString(3, question.getQHead());
			pstmt.setString(4, question.getQBody());
			pstmt.setString(5, question.getQResult());
			pstmt.setString(6, question.getQImg());
			pstmt.setString(7, question.getQJdtz());
			pstmt.setLong(8, question.getQOrder());

			return pstmt.executeUpdate()==1?true:false;

		} catch (SQLException e) {

			e.printStackTrace();
			return false;
		}finally{
			SQLCommand.close(pstmt);
			SQLCommand.close(conn);
		}
	}