guoyong před 4 roky
rodič
revize
d1075f0d13

+ 1 - 4
src/main/java/com/aoyang/tms/service/impl/CommonServiceImpl.java

@@ -141,10 +141,7 @@ public class CommonServiceImpl implements CommonService {
         if (truckEscort != null) {
             workerInfo.setEscortId(truckEscort.getEscortId());
             workerInfo.setEscortName(truckEscort.getEscortName());
-            User user = findUser(truckEscort.getEscortId());
-            if (user != null) {
-                workerInfo.setEscortPhone(user.getMobile());
-            }
+            workerInfo.setEscortPhone(truckEscort.getMobile());
         }
 
         //查询当前行车周期