|
|
@ -177,6 +177,12 @@ public class TableDataPreviewDesensitizeManager implements DesensitizationManage |
|
|
|
return departmentId + CONNECTOR + positionId; |
|
|
|
return departmentId + CONNECTOR + positionId; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 根据列名,从PreviewTableModel中匹配列序号,如果返回-1代表未匹配到 |
|
|
|
|
|
|
|
* @param desensitizationItem |
|
|
|
|
|
|
|
* @param previewModel |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
public int matchColumnIndex(TableDataDesensitizationItem desensitizationItem, PreviewTableModel previewModel) { |
|
|
|
public int matchColumnIndex(TableDataDesensitizationItem desensitizationItem, PreviewTableModel previewModel) { |
|
|
|
return previewModel.getColumnIndexWithExceptionIngore(desensitizationItem.getColumnName()); |
|
|
|
return previewModel.getColumnIndexWithExceptionIngore(desensitizationItem.getColumnName()); |
|
|
|
} |
|
|
|
} |
|
|
|