tangxiaobao
2021-09-10 edef0eb767e261d5feb391a3699de5591ed14711
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java
@@ -461,13 +461,15 @@
            record.setIdCard(SensitiveUtil.desensitizedIdNumber(record.getIdCard()));
            if (StringUtils.isNotEmpty(record.getTags())) {
                String tags = record.getTags() + ",";
                StringBuffer sb = new StringBuffer();
                sb.append(record.getTags() + ",");
                if (record.getIsPartymember().equals(1)) {
                    tags = tags + "党员,";
                    sb.append("党员,");
                }
                if (record.getIsVolunteer().equals(1)) {
                    tags = tags + "志愿者,";
                    sb.append("志愿者,");
                }
                String tags = sb.toString();
                record.setTags(tags.substring(0, tags.length() - 1));
            }else {
                StringBuffer sb = new StringBuffer();