大屏bug修改
This commit is contained in:
parent
97d505a9ea
commit
d95a7d1bee
|
|
@ -9,6 +9,7 @@ import com.bonus.base.mapper.TbDeviceMapper;
|
||||||
import com.bonus.base.mapper.TbProDepartMapper;
|
import com.bonus.base.mapper.TbProDepartMapper;
|
||||||
import com.bonus.base.mapper.TbProjectMapper;
|
import com.bonus.base.mapper.TbProjectMapper;
|
||||||
import com.bonus.base.mapper.TbTeamMapper;
|
import com.bonus.base.mapper.TbTeamMapper;
|
||||||
|
import com.bonus.base.utils.PhoneNumberUtils;
|
||||||
import com.bonus.common.core.utils.StringUtils;
|
import com.bonus.common.core.utils.StringUtils;
|
||||||
import com.bonus.common.core.utils.encryption.Sm4Utils;
|
import com.bonus.common.core.utils.encryption.Sm4Utils;
|
||||||
import com.bonus.common.core.web.domain.AjaxResult;
|
import com.bonus.common.core.web.domain.AjaxResult;
|
||||||
|
|
@ -224,7 +225,7 @@ public class ProjectViewServiceImpl {
|
||||||
if(CollectionUtils.isNotEmpty(list)) {
|
if(CollectionUtils.isNotEmpty(list)) {
|
||||||
list.forEach(teamRecordOne -> {
|
list.forEach(teamRecordOne -> {
|
||||||
if (StringUtils.isNotBlank(teamRecordOne.getMasterPhone())) {
|
if (StringUtils.isNotBlank(teamRecordOne.getMasterPhone())) {
|
||||||
teamRecordOne.setMasterPhone(Sm4Utils.decode(teamRecordOne.getMasterPhone()));
|
teamRecordOne.setMasterPhone(PhoneNumberUtils.maskPhoneNumber(Sm4Utils.decode(teamRecordOne.getMasterPhone())));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -242,7 +243,7 @@ public class ProjectViewServiceImpl {
|
||||||
if(CollectionUtils.isNotEmpty(list)) {
|
if(CollectionUtils.isNotEmpty(list)) {
|
||||||
list.forEach(people -> {
|
list.forEach(people -> {
|
||||||
if (StringUtils.isNotBlank(people.getPhone())) {
|
if (StringUtils.isNotBlank(people.getPhone())) {
|
||||||
people.setPhone(Sm4Utils.decode(people.getPhone()));
|
people.setPhone(PhoneNumberUtils.maskPhoneNumber(Sm4Utils.decode(people.getPhone())));
|
||||||
}
|
}
|
||||||
if (people.getSex() != null) {
|
if (people.getSex() != null) {
|
||||||
if (people.getSex() == 0) {
|
if (people.getSex() == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue