浏览代码

活检实体字段定义固定长度

lideyin 5 年之前
父节点
当前提交
0eb22cf0f3

+ 2 - 0
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/entity/ExamFaceLivenessVerifyEntity.java

@@ -43,6 +43,7 @@ public class ExamFaceLivenessVerifyEntity extends JpaEntity{
 	 * faceId返回json:notify_url返回
 	 * 网页端活体检测及比对返回值说明:https://faceid.com/pages/documents/5680508
 	 */
+	@Column(length = 2000)
 	private String resultJson;
 	/**
 	 * 验证结果
@@ -63,6 +64,7 @@ public class ExamFaceLivenessVerifyEntity extends JpaEntity{
 	/**
 	 * 错误信息
 	 */
+	@Column(length = 2000)
 	private String errorMsg;
 	
 	/**