void checkUpsetReturnType(Method method, String annotationName) throws DaoGenerateException {
		Class<?> returnType = method.getReturnType();

		if (net.energy.utils.ClassHelper.isTypePrimitive(returnType)) {
			returnType = ClassHelper.primitiveToWrapper(returnType);
		}
		if (net.energy.utils.ClassHelper.isTypeVoid(returnType) || Boolean.class.equals(returnType)) {
			return;
		}

		throw new DaoGenerateException("方法[" + method + "]配置错误：返回值非void,boolean,java.lang.Boolean类型，不能@"
				+ annotationName + "注解");

	}