Commit be967e0b by 程裕兵

feat:merchant

parent f84da714
package com.jiejing.fitness.finance.service.utils;
import com.alibaba.fastjson.JSON;
import com.google.common.collect.Lists;
import java.util.List;
/**
......@@ -14,6 +15,9 @@ public class JsonUtil {
}
public static <T> List<T> convertList(Object source, Class<T> clazz) {
if (null == source) {
return Lists.newArrayList();
}
return JSON.parseArray(JSON.toJSONString(source), clazz);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment