邵洋 hace 1 año
padre
commit
a47339d4ec

+ 0 - 17
zksy-system/src/main/java/com/zksy/system/basicData/domain/CrmHighTechZoneEnterprises.java

@@ -29,9 +29,6 @@ public class CrmHighTechZoneEnterprises extends Model<CrmHighTechZoneEnterprises
 
 
 private static final long serialVersionUID=1L;
 private static final long serialVersionUID=1L;
 
 
-    private static final Pattern PHONE_NUMBER_MASK_PATTERN = Pattern.compile("(\\d{3})\\d{4}(\\d{4})");
-    private static final Pattern NAME_MASK_PATTERN = Pattern.compile(".(?=.)");
-
 @ApiModelProperty(value = "主键")
 @ApiModelProperty(value = "主键")
     /** 主键 */
     /** 主键 */
         @TableId(type = IdType.AUTO)
         @TableId(type = IdType.AUTO)
@@ -55,26 +52,12 @@ private static final long serialVersionUID=1L;
                 @ExcelExport(value = "企业负责人")
                 @ExcelExport(value = "企业负责人")
     private String enterpriseLeader;
     private String enterpriseLeader;
 
 
-    public String getEnterpriseLeader() {
-        if (this.enterpriseLeader == null || this.enterpriseLeader.length() <= 1) {
-            return this.enterpriseLeader;
-        }
-        return this.enterpriseLeader.substring(0, 1) + "*";
-    }
-
 @ApiModelProperty(value = "联系电话")
 @ApiModelProperty(value = "联系电话")
     /** 联系电话 */
     /** 联系电话 */
                 @ExcelImport(value = "联系电话")
                 @ExcelImport(value = "联系电话")
                 @ExcelExport(value = "联系电话")
                 @ExcelExport(value = "联系电话")
     private String contactPhone;
     private String contactPhone;
 
 
-    public String getContactPhone() {
-        if (this.contactPhone == null || this.contactPhone.length() < 7) {
-            return this.contactPhone;
-        }
-        return PHONE_NUMBER_MASK_PATTERN.matcher(this.contactPhone).replaceAll("$1****$2");
-    }
-
     @ApiModelProperty(value = "经度")
     @ApiModelProperty(value = "经度")
     /** 经度 */
     /** 经度 */
     @ExcelImport(value = "经度")
     @ExcelImport(value = "经度")