Commit 156e4063263a193394b55d1bf170bd757fa85ec7
1 parent
530461cb
fix: update object
Showing
1 changed file
with
16 additions
and
0 deletions
ruoyi-admin/src/main/java/com/ruoyi/driver/domain/Driver.java
| 1 | 1 | package com.ruoyi.driver.domain; |
| 2 | 2 | |
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | |
| 3 | 4 | import org.apache.commons.lang3.builder.ToStringBuilder; |
| 4 | 5 | import org.apache.commons.lang3.builder.ToStringStyle; |
| 5 | 6 | import com.ruoyi.common.annotation.Excel; |
| ... | ... | @@ -20,62 +21,77 @@ public class Driver extends BaseEntity |
| 20 | 21 | |
| 21 | 22 | /** 工号 */ |
| 22 | 23 | @Excel(name = "工号") |
| 24 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 23 | 25 | private String jobCode; |
| 24 | 26 | |
| 25 | 27 | /** 公司编码 */ |
| 26 | 28 | @Excel(name = "公司编码") |
| 29 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 27 | 30 | private String companyCode; |
| 28 | 31 | |
| 29 | 32 | /** 分公司编码 */ |
| 30 | 33 | @Excel(name = "分公司编码") |
| 34 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 31 | 35 | private String brancheCompanyCode; |
| 32 | 36 | |
| 33 | 37 | /** 姓名 */ |
| 34 | 38 | @Excel(name = "姓名") |
| 39 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 35 | 40 | private String personnelName; |
| 36 | 41 | |
| 37 | 42 | /** 运营服务证书号 */ |
| 38 | 43 | @Excel(name = "运营服务证书号") |
| 44 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 39 | 45 | private String papersCode; |
| 40 | 46 | |
| 41 | 47 | /** 一卡通工作卡号 */ |
| 42 | 48 | @Excel(name = "一卡通工作卡号") |
| 49 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 43 | 50 | private String icCardCode; |
| 44 | 51 | |
| 45 | 52 | /** 性别 */ |
| 46 | 53 | @Excel(name = "性别") |
| 54 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 47 | 55 | private String personnelType; |
| 48 | 56 | |
| 49 | 57 | /** 所属岗位/工种 */ |
| 50 | 58 | @Excel(name = "所属岗位/工种") |
| 59 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 51 | 60 | private String posts; |
| 52 | 61 | |
| 53 | 62 | /** 身份证 */ |
| 54 | 63 | @Excel(name = "身份证") |
| 64 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 55 | 65 | private String card; |
| 56 | 66 | |
| 57 | 67 | /** 联系电话 */ |
| 58 | 68 | @Excel(name = "联系电话") |
| 69 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 59 | 70 | private String telphone; |
| 60 | 71 | |
| 61 | 72 | /** RFID 人卡IC号 */ |
| 62 | 73 | @Excel(name = "RFID 人卡IC号") |
| 74 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 63 | 75 | private String icRfid; |
| 64 | 76 | |
| 65 | 77 | /** RFID 人卡ID号(10进制) */ |
| 66 | 78 | @Excel(name = "RFID 人卡ID号", readConverterExp = "1=0进制") |
| 79 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 67 | 80 | private String idRfid; |
| 68 | 81 | |
| 69 | 82 | /** RFID 标签号 */ |
| 70 | 83 | @Excel(name = "RFID 标签号") |
| 84 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 71 | 85 | private String tagRfid; |
| 72 | 86 | |
| 73 | 87 | /** 线路名称 */ |
| 74 | 88 | @Excel(name = "线路名称") |
| 89 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 75 | 90 | private String lineName; |
| 76 | 91 | |
| 77 | 92 | /** 线路编码 */ |
| 78 | 93 | @Excel(name = "线路编码") |
| 94 | + @JsonIgnoreProperties(ignoreUnknown = true) | |
| 79 | 95 | private String lineCode; |
| 80 | 96 | |
| 81 | 97 | public void setId(Long id) | ... | ... |