Commit 0648f05a67b7429a293ac8df7ac1b782ff61968a
1 parent
57b70e21d6
Exists in
master
and in
6 other branches
序列化处理
Showing 2 changed files with 4 additions and 2 deletions
platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java
View file @
0648f05
| ... | ... | @@ -99,7 +99,8 @@ |
| 99 | 99 | BabyEvaluationCriterionModel("BabyEvaluationCriterionModel",8403770575902711593L), |
| 100 | 100 | BabyNerveMovementModel("BabyNerveMovementModel", -6434664687867665381L), |
| 101 | 101 | BabyNeuroPsychologicalModel("BabyNeuroPsychologicalModel", -7902299259467567060L), |
| 102 | - ExerciseAppraisalModel("ExerciseAppraisalModel", 993491777685035796L) | |
| 102 | + ExerciseAppraisalModel("ExerciseAppraisalModel", 993491777685035796L), | |
| 103 | + AfterVisitPelvicFloorModel("AfterVisitPelvicFloorModel", -534393866388205106L) | |
| 103 | 104 | |
| 104 | 105 | ; |
| 105 | 106 |
platform-dal/src/main/java/com/lyms/platform/pojo/AfterVisitPelvicFloorModel.java
View file @
0648f05
| 1 | 1 | package com.lyms.platform.pojo; |
| 2 | 2 | |
| 3 | +import com.lyms.platform.beans.SerialIdEnum; | |
| 3 | 4 | import com.lyms.platform.common.result.BaseModel; |
| 4 | 5 | import org.springframework.data.mongodb.core.mapping.Document; |
| 5 | 6 | |
| ... | ... | @@ -14,7 +15,7 @@ |
| 14 | 15 | @Document(collection = "lyms_pelvicFloor_afterVisit") |
| 15 | 16 | public class AfterVisitPelvicFloorModel extends BaseModel { |
| 16 | 17 | |
| 17 | - private static final long serialVersionUID = -534393866388205106L; | |
| 18 | + private static final long serialVersionUID = SerialIdEnum.AfterVisitPelvicFloorModel.getCid(); | |
| 18 | 19 | |
| 19 | 20 | private String id; |
| 20 | 21 |