java.lang.Object
com.wu.framework.inner.database.converter.Parser

public class Parser extends Object
版本:
1.0 describe : xml 文件解析
作者:
: Jia wei Wu
  • 构造器详细资料

    • Parser

      public Parser()
  • 方法详细资料

    • parse2

      public static String parse2(Method method, Object[] args, CustomRepository customRepository)
      customRepository 中标签(if)内容判断
      返回:
    • substituteObjectsInCharacters

      public static String substituteObjectsInCharacters(Method method, Object[] args, String s)
      代替字符中的对象
      返回:
    • parse2

      public static String parse2(Method method, Object[] args, String text)
      基本数据类型 字符串替换 TODO sql注入问题
      参数:
      method -
      args -
      text -
      返回:
    • parse2

      public static String parse2(Method method, Object[] args, String text, boolean isPage)
      参数:
      method -
      args -
      text -
      isPage -
      返回:
    • countSQL

      public static String countSQL(Method method, Object[] args, String text)
      获取分页表 统计 sql
      参数:
      method -
      args -
      返回:
    • countSQL

      public static String countSQL(Method method, Object[] args, CustomRepository customRepository)
    • pageObject

      public static Page pageObject(Method method, Object[] args)
      获取接口参数中分页对象
      参数:
      method -
      args -
      返回:
    • xx

      public static List<CustomRepository> xx()
    • main

      public static void main(String... args)
      使用示例
      参数:
      args -