| | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.property.ComPropertyRepairVO; |
| | | import com.panzhihua.common.utlis.RSAUtils; |
| | | import com.panzhihua.service_property.dao.ComPropertyRepairDao; |
| | | import com.panzhihua.service_property.entity.ComPropertyRepair; |
| | | import com.panzhihua.service_property.dao.ComPropertyRepairDao; |
| | | import com.panzhihua.service_property.service.ComPropertyRepairService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | import static java.util.Objects.nonNull; |
| | | |
| | |
| | | } |
| | | IPage<ComPropertyRepairVO> list = comPropertyRepairDao.pageList(new Page(commonPage.getPage(), commonPage.getSize()), commonPage); |
| | | for (ComPropertyRepairVO record : list.getRecords()) { |
| | | record.setRepairName(DesensitizedUtil.mobilePhone(record.getRepairPhone())); |
| | | record.setRepairPhone(DesensitizedUtil.mobilePhone(record.getRepairPhone())); |
| | | record.setRepairName(DesensitizedUtil.chineseName(record.getRepairName())); |
| | | record.setFeedback(DesensitizedUtil.chineseName(record.getFeedback())); |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | System.out.println(DesensitizedUtil.mobilePhone("13980594622")); |
| | | } |
| | | |
| | | } |