All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.beetl.sql.mapper.annotation.CallOutBean Maven / Gradle / Ivy

The newest version!
package org.beetl.sql.mapper.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 指示为mapper 存储过程的输出参数放到此Bean中
 * 
@{code
 *     @Call("....")
 *     public List call(@CallParam(1) Integer id,@CallOutBean  XXXBen bean)
 * }
* * XXXBen 可以定义如下 *
@{code
 *     public class XXXBen{
 *        @CallIndex(2) // 存储过程第二个参数
 *        Integer age;
 *     }
 * }
*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) public @interface CallOutBean { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy