1.private static final String LOG_PREFIX = "代付前置工商银行-多账户余额查询-";
2.String.format(RET_MSG_ELEM_MISS, paramName),RET_MSG_ELEM_MISS=交易接口要素{%s}缺失
3. ArrayUtils.addAll(byte[],byte[]);
4.NumberUtils.toLong(req.getAmt()) <= 0L)
/** * @param key * @param defaultValue * @return */ public static long getLong(String key, long defaultValue) { Object value = configParams.get(key); if (value == null) { return defaultValue; } if (value instanceof Number) { return ((Number) value).longValue(); } return NumberUtils.toLong(String.valueOf(configParams.get(key)), defaultValue); }
5.DateFormatUtils.format(new Date(), "yyyyMMdd");
6.System.currentTimeMillis() - System.currentTimeMillis(),ms毫秒
7.inuputStream readFully()