ソースを参照

药师点击详情时候,手机号码需要显示出来

Guos 3 週間 前
コミット
f88564755c

+ 3 - 4
fs-admin/src/main/java/com/fs/his/controller/FsDoctorController.java

@@ -90,10 +90,9 @@ public class FsDoctorController extends BaseController
     public AjaxResult getInfo(@PathVariable("doctorId") Long doctorId)
     {
         FsDoctorVO fsDoctorVO = fsDoctorService.selectFsDoctorVOByDoctorId(doctorId);
-
-        if (fsDoctorVO.getMobile()!=null){
-            fsDoctorVO.setMobile(fsDoctorVO.getMobile().replaceAll("(\\d{3})\\d*(\\d{4})", "$1****$2"));
-        }
+//        if (fsDoctorVO.getMobile()!=null){
+//            fsDoctorVO.setMobile(fsDoctorVO.getMobile().replaceAll("(\\d{3})\\d*(\\d{4})", "$1****$2"));
+//        }
         if (fsDoctorVO.getIdCard()!=null){
             fsDoctorVO.setIdCard(fsDoctorVO.getIdCard().replaceAll("(\\d{4})\\d{10}(\\w{4})", "$1**********$2"));
         }