private void checkReturnType(Method method) throws DaoGenerateException {
		Class<?> returnType = method.getReturnType();
		isReturnId = (method.getAnnotation(ReturnId.class) != null);

		if (isReturnId) {
			if (ClassHelper.isTypePrimitive(returnType)) {
				returnType = ClassHelper.primitiveToWrapper(returnType);
			}
			if (!ClassHelper.isTypeNumber(returnType)) {
				throw new DaoGenerateException("方法[" + method + "]配置错误：配置了@ReturnId注解的方法只能返回java.lang.Number类型数据或者对应的基本类型，你能为[" + returnType + "]");
			}
		} else {
			if (ClassHelper.isTypePrimitive(returnType)) {
				returnType = ClassHelper.primitiveToWrapper(returnType);
			}
			if (ClassHelper.isTypeVoid(returnType) || Integer.class.equals(returnType)) {
				return;
			}

			throw new DaoGenerateException("方法[" + method + "]配置错误：配置了@Update注解的方法只能返回void,int或者Integer；或者请增加@ReturnId注解");

		}

	}