wangliang преди 1 година
родител
ревизия
98b791105a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      sop-business/src/main/java/com/qmth/sop/business/service/impl/TBSopInfoServiceImpl.java

+ 1 - 1
sop-business/src/main/java/com/qmth/sop/business/service/impl/TBSopInfoServiceImpl.java

@@ -344,7 +344,7 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
         tbSopInfoService.updateById(tbSopInfo);
 
         if (tfCustomFlow.getType() == TFCustomTypeEnum.CLOUD_MARK_SOP_FLOW && tfFlowApprove.getSetup().intValue() == 6) {//现场环境测试下一步"扫描准备",修改设备发货管理里的设备改为已签收
-            List<TBDeviceDelivery> tbDeviceDeliveryList = tbDeviceDeliveryService.list(new QueryWrapper<TBDeviceDelivery>().lambda().eq(TBDeviceDelivery::getSopNo, tbSopInfo.getSopNo()));
+            List<TBDeviceDelivery> tbDeviceDeliveryList = tbDeviceDeliveryService.list(new QueryWrapper<TBDeviceDelivery>().lambda().eq(TBDeviceDelivery::getCrmNo, tfCustomFlowEntity.getCrmNo()));
             if (!CollectionUtils.isEmpty(tbDeviceDeliveryList)) {
                 for (TBDeviceDelivery t : tbDeviceDeliveryList) {
                     t.setStatus(DeviceDeliveryStatusEnum.RECEIVE);