瀏覽代碼

sop加入现场环境测试,设备出货管理更改为已签收

wangliang 1 年之前
父節點
當前提交
4956ecd3a9

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

@@ -343,7 +343,7 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
         tbSopInfo.updateInfo(sysUser.getId());
         tbSopInfoService.updateById(tbSopInfo);
 
-        if (tfFlowApprove.getSetup().intValue() == 6) {//现场环境测试下一步"扫描准备",修改设备发货管理里的设备改为已签收
+        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()));
             if (!CollectionUtils.isEmpty(tbDeviceDeliveryList)) {
                 for (TBDeviceDelivery t : tbDeviceDeliveryList) {