瀏覽代碼

修复初始化物流企业评分bug

tangyishan 4 天之前
父節點
當前提交
0ddf763753

+ 1 - 1
sckw-modules/sckw-contract/src/main/java/com/sckw/contract/service/impl/KwcContractLogisticsScoreServiceImpl.java

@@ -260,7 +260,7 @@ public class KwcContractLogisticsScoreServiceImpl implements IKwcContractLogisti
             throw new BusinessException("业务繁忙,请稍后再试!");
         }
         try {
-            if(kwcContractLogisticsScoreMapper.selectLogisticsScoreByEntId(baseInfo.getPurchaseEntId(),baseInfo.getPurchaseEntId())==null){
+            if(kwcContractLogisticsScoreMapper.selectLogisticsScoreByEntId(baseInfo.getProvideEntId(),baseInfo.getPurchaseEntId())==null){
                 //初始化物流企业评分记录
                 kwcContractLogisticsScoreMapper.insertKwcContractLogisticsScore(logisticsScore);
                 //初始化物流企业评分明细