大屏bug修改

This commit is contained in:
mashuai 2024-10-08 13:18:43 +08:00
parent 97d505a9ea
commit d95a7d1bee
1 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ import com.bonus.base.mapper.TbDeviceMapper;
import com.bonus.base.mapper.TbProDepartMapper;
import com.bonus.base.mapper.TbProjectMapper;
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.encryption.Sm4Utils;
import com.bonus.common.core.web.domain.AjaxResult;
@ -224,7 +225,7 @@ public class ProjectViewServiceImpl {
if(CollectionUtils.isNotEmpty(list)) {
list.forEach(teamRecordOne -> {
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)) {
list.forEach(people -> {
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() == 0) {