src/main/java/com/itfsw/mybatis/generator/plugins/utils/JavaElementGeneratorTools.java
public static Method generateMethodBody(Method method, String... bodyLines) {
        if (bodyLines != null) {
            for (String bodyLine : bodyLines) {
                method.addBodyLine(bodyLine);
            }
        }
        return method;
    }
public static Method generateMethodBody(Method method, String... bodyLines) {
        if (bodyLines != null) {
            for (String bodyLine : bodyLines) {
                method.addBodyLine(bodyLine);
            }
        }
        return method;
    }
public static Method generateMethodBody ( Method method , String ... bodyLines ) { if ( bodyLines != null ) { for ( String bodyLine : bodyLines ) { method . addBodyLine ( bodyLine ) ; } } return method ; }
生成方法实现体
@param method    方法
@param bodyLines 方法实现行
@return
生成方法实现体