提交修改
This commit is contained in:
parent
195cc38459
commit
02140012bb
@ -60,6 +60,9 @@ public class ApiConstants {
|
|||||||
*/
|
*/
|
||||||
public static final String JOB_PARAM_KEY = "JOB_PARAM_KEY";
|
public static final String JOB_PARAM_KEY = "JOB_PARAM_KEY";
|
||||||
public static Integer warning_flag = 500;
|
public static Integer warning_flag = 500;
|
||||||
|
public static final String Merge = "Merge";
|
||||||
|
public static final String List = "List";
|
||||||
|
public static final String set = "set";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,6 +2,7 @@ package com.heyu.api.data.utils;
|
|||||||
|
|
||||||
import com.heyu.api.common.LBiFunction0;
|
import com.heyu.api.common.LBiFunction0;
|
||||||
import com.heyu.api.common.test.AriseUser;
|
import com.heyu.api.common.test.AriseUser;
|
||||||
|
import com.heyu.api.data.constants.ApiConstants;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.collections.CollectionUtils;
|
import org.apache.commons.collections.CollectionUtils;
|
||||||
import org.apache.commons.lang3.ClassUtils;
|
import org.apache.commons.lang3.ClassUtils;
|
||||||
@ -278,8 +279,10 @@ public class SanUtils {
|
|||||||
list.add(r);
|
list.add(r);
|
||||||
}
|
}
|
||||||
String getMethodName = method.getName();
|
String getMethodName = method.getName();
|
||||||
String setMethodName = "set" + getMethodName.substring(3);
|
String setMethodName = ApiConstants.set + getMethodName.substring(3);
|
||||||
String setMethodNameList = "setMerge" + getMethodName.substring(3) + "List";
|
|
||||||
|
String setMethodNameList = ApiConstants.set + ApiConstants.Merge + getMethodName.substring(3) + ApiConstants.List;
|
||||||
|
|
||||||
Method setMehtod = null;
|
Method setMehtod = null;
|
||||||
|
|
||||||
List<Method> methods = new ArrayList<>();
|
List<Method> methods = new ArrayList<>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user