|
@@ -176,8 +176,11 @@ public class HandlerFormDataUtils {
|
|
|
param.put(fkColumnName.toString(), value);
|
|
|
IBaseSelectService selectService = SpringUtils.getBean(IBaseSelectService.class);
|
|
|
JSONObject fkInfo = selectService.getOneByMap(fkTableName.toString(), param);
|
|
|
-
|
|
|
JSONObject result = new JSONObject();
|
|
|
+ if (isEmpty(fkInfo)) {
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
Object fkValue = fkInfo.get(dkColumnName);
|
|
|
result.put(SINGLE_OBJ_NAME, value);
|
|
|
result.put(SINGLE_OBJ_VALUE, fkValue);
|