Data verification method and device, computer equipment and storage medium
The invention relates to a data verification method and device, computer equipment and a storage medium. The method comprises the following steps: receiving to-be-verified data; extracting a to-be-verified bean field in the to-be-verified data according to a pre-configured verification rule of Java...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a data verification method and device, computer equipment and a storage medium. The method comprises the following steps: receiving to-be-verified data; extracting a to-be-verified bean field in the to-be-verified data according to a pre-configured verification rule of Java Bean, wherein the number of the to-be-verified bean field is at least one; obtaining a verification constraint condition matched with the to-be-verified bean field from the verification rule of the Java Bean, wherein the verification constraint condition comprises a verification condition corresponding to each bean field; and according to the verification condition corresponding to each of the bean fields, carrying out joint verification on each of the bean fields to be verified. By adopting the method, multi-field joint verification can be supported.
本申请涉及一种数据校验方法、装置、计算机设备和存储介质。上述的方法包括:接收待校验数据;根据预先配置的Java Bean的校验规则提取上述的待校验数据中的待校验bean字段,上述的待校验bean字段包括至少一个;从上述的Java Bean的校验规则中获取与所述待校验bean字段匹配的校验约束条件,上述的校验约束条件包括与各所述be |
---|