You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class ApplyTaskEntity {
@Many(field = "applyNo")
@Comment("清单")
public List<ApplyInfoEntity> plgs;
}
public class ApplyInfoEntity{
public String rightNames;
}
public Object save(@Param("..") ApplyTaskEntity task) {
//TODO
}
表单对象中包含list属性,如果不使用前缀,则提交到后台该属性为空:
以上这种写法,后台task.plgs为空,
使用前缀表单的方式,入口函数中@param("..")改成@param("::task."),同时表单项的name改为task.plgs:0.rightNames则可以正常接收。
问题详情
The text was updated successfully, but these errors were encountered: