动态表单动态操作 功能优化

yun-zuoyi
wei.peng 6 years ago
parent ebf517cb3d
commit ac5bf14d6b

@ -115,7 +115,8 @@ public class DynamicEntity extends BaseBean implements Serializable {
Method setMethod = this.getClass().getDeclaredMethod(setMethodName, new Class[]{val.getClass()}); Method setMethod = this.getClass().getDeclaredMethod(setMethodName, new Class[]{val.getClass()});
setMethod.invoke(this, val); setMethod.invoke(this, val);
} catch (NoSuchMethodException e) { } catch (NoSuchMethodException e) {
LOGGER.error("没有方法:{}",setMethodName,e); // LOGGER.error("没有方法:{}",setMethodName,e);
LOGGER.error("没有方法:{}",setMethodName);
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
LOGGER.error("入参出错:{}:{}",val,val.getClass(),e); LOGGER.error("入参出错:{}:{}",val,val.getClass(),e);
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {

@ -56,7 +56,7 @@ public class BfElementProperty extends BaseBean {
private String propertyTypeNameRdd; private String propertyTypeNameRdd;
@Column(name="PROPERTY_NAME") @Column(name="PROPERTY_NAME")
@ApiParam(value ="元素名称") @ApiParam(value ="元素属性名称")
private String propertyName; private String propertyName;
@Column(name="PROPERTY_CODE_RDD") @Column(name="PROPERTY_CODE_RDD")
@ -137,6 +137,6 @@ public class BfElementProperty extends BaseBean {
private BfDataObjectProperty objectProperty; private BfDataObjectProperty objectProperty;
public Object getFormValue() { public Object getFormValue() {
return propertyFormValue == null ? propertyDefaultValue: propertyFormValue; return propertyFormValue;
} }
} }

@ -40,10 +40,6 @@ public class SysRole extends BaseBean {
@ApiParam(value ="资源描述") @ApiParam(value ="资源描述")
private String roleDescription; private String roleDescription;
@Column(name="ROLE_GRADE")
@ApiParam(value ="角色等级(待定)" , example ="-1")
private Integer roleGrade;
@Column(name="MODULE_NUMBER") @Column(name="MODULE_NUMBER")
@ApiParam(value ="权限模块数量" , example ="0" , access ="权限模块数量") @ApiParam(value ="权限模块数量" , example ="0" , access ="权限模块数量")
private Integer moduleNumber; private Integer moduleNumber;

Loading…
Cancel
Save