https://help.fanruan.com/finereport/doc-view-4548.html
参考文档
…………
https://help.fanruan.com/finereport/doc-view-3032.htm
这个是多字段联立重复检验https://help.fanruan.com/finereport10.0/doc-view-566.html
这个简单一点,总看得懂了吧
简单一点你可以改成插入提交,这样数据库会返回错误。
想要合适一点的报错提示就用sql函数自己写内置校验