public boolean updateQuestion(Question question) {
		Connection conn = ConnectionFactory.getConnection();
		PreparedStatement pstmt=null;
		String sql = "UPDATE question SET s_id=?, "
			+"q_type=?, q_head=?, q_body=?, q_result=?, "
			+"q_img=?, q_jdtz=?, q_order=?"
			+" WHERE q_id=?";
		try {
			pstmt = conn.prepareStatement(sql);
			//System.out.println(question.getSurvey());
			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());
			pstmt.setLong(9, question.getQId());

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

		} catch (SQLException e) {

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