类 PoiFunctionUtil

java.lang.Object
org.jeecgframework.poi.util.PoiFunctionUtil

public final class PoiFunctionUtil extends Object
if else,length,for each,fromatNumber,formatDate 满足模板的 el 表达式支持
作者:
JEECG
  • 方法详细资料

    • length

      public static int length(Object obj)
      获取对象的长度
      参数:
      obj -
      返回:
    • formatNumber

      public static String formatNumber(Object obj, String format)
      格式化数字
      参数:
      obj -
      返回:
      抛出:
      NumberFormatException
    • formatDate

      public static String formatDate(Object obj, String format)
      格式化时间
      参数:
      obj -
      返回:
    • isTrue

      public static boolean isTrue(Object first, String operator, Object second)
      判断是不是成功
      参数:
      first -
      operator -
      second -
      返回: