java

关注公众号 jb51net

关闭
首页 > 软件编程 > java > @TableField(typeHandler = FastjsonTypeHandler.class)

@TableField(typeHandler = FastjsonTypeHandler.class)使用及说明

作者:Bworry

文章总结个人前端上传经验,提出了一些优化上传方法的建议,旨在提高上传效率和用户体验,希望能为开发者提供参考

@TableField(typeHandler = FastjsonTypeHandler.class)

@TableField(typeHandler = FastjsonTypeHandler.class)
private List<SampleProdTplVo> content;


@TableField(exist = false, typeHandler = FastjsonTypeHandler.class)
private List<LabTestPendingEntity> items;

前端上传不用这么传了

content: JSON.stringify(this.dataForm.content),

总结

以上为个人经验,希望能给大家一个参考,也希望大家多多支持脚本之家。

您可能感兴趣的文章:
阅读全文