cheng
2024-08-25 b8f8eeb8a6fb0c50773e494068e8a1bb9754739a
src/main/java/com/product/mobile/core/service/FaceMobileService.java
@@ -133,11 +133,20 @@
            if ("__vModel__".equals(setEntity.getString("property_name"))) {
               result.add(faceFieldEntity);
               propertyName = "fieldName";
            }else if ("defaultNow".equals(propertyName)){
               propertyName="defaultValue";
            }
            propertyName = StrUtil.toCamelCase(propertyName);
            if (ReflectUtil.hasField(FaceFieldEntity.class, propertyName)) {
               ReflectUtil.setFieldValue(faceFieldEntity, propertyName, setEntity.getObject("property_value"));
               if ("defaultValue".equals(propertyName)) {
                  ReflectUtil.setFieldValue(faceFieldEntity, propertyName, setEntity.getBoolean("property_value"));
                  continue;
               } else {
                  ReflectUtil.setFieldValue(faceFieldEntity, propertyName, setEntity.getObject("property_value"));
               }
            }
            System.out.println(propertyName);
         }
         if (StringUtils.isEmpty(faceFieldEntity.getFieldName())) {
            result.remove(faceFieldEntity);