Commit dd0cd89f98163c9be5ba155cc617b6a842810577
1 parent
18174da3
1.身份证号数据不到前端
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/com/bsth/entity/Personnel.java
| 1 | package com.bsth.entity; | 1 | package com.bsth.entity; |
| 2 | 2 | ||
| 3 | import com.bsth.entity.schedule.BEntity; | 3 | import com.bsth.entity.schedule.BEntity; |
| 4 | +import com.fasterxml.jackson.annotation.JsonIgnore; | ||
| 4 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | 5 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| 5 | import org.hibernate.annotations.Formula; | 6 | import org.hibernate.annotations.Formula; |
| 6 | 7 | ||
| @@ -66,6 +67,7 @@ public class Personnel extends BEntity { | @@ -66,6 +67,7 @@ public class Personnel extends BEntity { | ||
| 66 | /** 金蝶工号 */ | 67 | /** 金蝶工号 */ |
| 67 | private String jdCodeori; | 68 | private String jdCodeori; |
| 68 | /** 身份证 */ | 69 | /** 身份证 */ |
| 70 | + @JsonIgnore | ||
| 69 | private String card; | 71 | private String card; |
| 70 | 72 | ||
| 71 | /** | 73 | /** |