private static void doFieldMapping(BeanMappingParam param, BeanMappingField beanField, BatchObjectHolder holder) {
// 定义valueContext
ValueProcessContext valueContext = new ValueProcessContext(param, param.getConfig(), beanField, holder,
param.getCustomValueContext());
// 设置getExecutor
GetExecutor getExecutor = beanField.getGetExecutor();// 优先从beanField里取
if (getExecutor == null && StringUtils.isNotEmpty(beanField.getSrcField().getName())) {// 如果不为空,可能存在script
Class locatorClass = beanField.getSrcField().getLocatorClass();// 从locatorClass中获取
if (locatorClass == null) {
locatorClass = param.getSrcRef().getClass();
beanField.getSrcField().setLocatorClass(locatorClass);