Bladeren bron

修改报错信息

donglang 1 maand geleden
bovenliggende
commit
f2bf0a428d

+ 1 - 4
sckw-modules-api/sckw-contract-api/src/main/java/com/sckw/contract/api/RemoteContractService.java

@@ -104,6 +104,7 @@ public interface RemoteContractService {
 
     KwcContractLogisticsDto queryContractByContractId(Long contractId);
 
+    List<TradeContractUnitDto> queryContractUnitByContractId(Long contractId);
     /**
      * 查询自动派车的物流合同信息List
      */
@@ -114,10 +115,6 @@ public interface RemoteContractService {
      */
     TradeContractUnitDto queryEntByContractId(Long contractId);
 
-    /**
-     * 根据合同查询物流企业
-     */
-    List<Long> queryEntByContractIds(List<Long> contractIds);
 
 
     /**

+ 0 - 17
sckw-modules/sckw-fleet/src/main/java/com/sckw/fleet/dubbo/RemoteFleetServiceImpl.java

@@ -651,23 +651,6 @@ public class RemoteFleetServiceImpl implements RemoteFleetService {
         return vo;
     }
 
-    /**
-     *  获取司机评分数据
-     * @param driverScore 车辆对象
-     * @return 车辆数据
-     */
-    private RDriverScoreVo getDriverScoreVo(KwfDriverScore driverScore) {
-        EntCacheResDto entCacheResDto = remoteSystemService.queryEntCacheById(driverScore.getProviderEntId());
-        RDriverScoreVo vo = new RDriverScoreVo();
-        vo.setProviderEntId(driverScore.getProviderEntId());
-        vo.setLogisticsEntId(driverScore.getLogisticsEntId());
-        vo.setDriverId(driverScore.getDriverId());
-        vo.setProviderEntName(entCacheResDto.getFirmName());
-        vo.setScore(driverScore.getScore());
-        return vo;
-    }
-
-
     public void updateDriverScoreIdByEntIds(RUpdateDriverScoreDto score) {
         KwfDriverScore driverScore = new KwfDriverScore();
         driverScore.setId(score.getId());

+ 4 - 4
sckw-modules/sckw-transport/src/main/java/com/sckw/transport/service/KwtWaybillOrderV1Service.java

@@ -3758,7 +3758,7 @@ public class KwtWaybillOrderV1Service {
 
         //1、更新司机分数(减分)
         documentErrorMissing = -Math.abs(documentErrorMissing);
-        remoteFleetService.updateDriverScore(waybillOrder.getEntId(), waybillOrder.getDriverId(), documentErrorMissing);
+
 
         //2、更新企业分数(减分)
 
@@ -3788,7 +3788,7 @@ public class KwtWaybillOrderV1Service {
         if (isTimeOut) {
             //1、更新司机分数(减分)
             timeoutScore = -Math.abs(timeoutScore);
-            remoteFleetService.updateDriverScore(waybillOrder.getEntId(), waybillOrder.getDriverId(), timeoutScore);
+
 
             //2、更新企业分数(减分)
         }
@@ -3970,7 +3970,7 @@ public class KwtWaybillOrderV1Service {
         updateNode(waybillOrder, nodeIds, continuousOnTimeUnload);
 
         //2 .更新司机分数(加分)
-        remoteFleetService.updateDriverScore(waybillOrder.getEntId(), waybillOrder.getDriverId(), continuousOnTimeUnload);
+
 
         //3. 更新企业分数(加分)
     }
@@ -4022,7 +4022,7 @@ public class KwtWaybillOrderV1Service {
         updateNode(waybillOrder, nodeIds, continuousAccurateUnloadTimes);
 
         //2 .更新司机分数(加分)
-        remoteFleetService.updateDriverScore(waybillOrder.getEntId(), waybillOrder.getDriverId(), continuousAccurateUnload);
+
 
         //3. 更新企业分数(加分)
     }