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 | 1 | package com.bsth.entity; |
| 2 | 2 | |
| 3 | 3 | import com.bsth.entity.schedule.BEntity; |
| 4 | +import com.fasterxml.jackson.annotation.JsonIgnore; | |
| 4 | 5 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| 5 | 6 | import org.hibernate.annotations.Formula; |
| 6 | 7 | |
| ... | ... | @@ -66,6 +67,7 @@ public class Personnel extends BEntity { |
| 66 | 67 | /** 金蝶工号 */ |
| 67 | 68 | private String jdCodeori; |
| 68 | 69 | /** 身份证 */ |
| 70 | + @JsonIgnore | |
| 69 | 71 | private String card; |
| 70 | 72 | |
| 71 | 73 | /** | ... | ... |