记得上下班打卡 | git大法好,push需谨慎

Commit c2121f70 authored by zhangguobing's avatar zhangguobing

~api:券商品业务-关联人脱敏调整;

parent e8c2f393
...@@ -146,7 +146,7 @@ public class GoblinOrderSkuVo implements Serializable, Cloneable { ...@@ -146,7 +146,7 @@ public class GoblinOrderSkuVo implements Serializable, Cloneable {
public void desensitize() { public void desensitize() {
this.setIdName(SensitizeUtil.chineseName(this.getIdName())); this.setIdName(SensitizeUtil.chineseName(this.getIdName()));
this.setIdNo(SensitizeUtil.custom(this.getIdNo(), 3, 2)); this.setIdNo(SensitizeUtil.custom(this.getIdNo(), 3, 2));
if (StringUtils.length(this.getIdNo()) < 9) { if (!Objects.isNull(this.idNo) && StringUtils.length(this.getIdNo()) < 9) {
this.setIdNo(SensitizeUtil.custom(this.getIdNo(), 2, 2)); this.setIdNo(SensitizeUtil.custom(this.getIdNo(), 2, 2));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment