3254194295 hace 1 año
padre
commit
b00881b490

+ 2 - 2
platform-service/src/main/java/com/platform/service/repair/strategy/impl/LongYanRepairStrategy.java

@@ -1055,8 +1055,8 @@ public class LongYanRepairStrategy extends AbstractRepairBaseStrategy {
         repairApplicationFormMapper.updateByPrimaryKeySelective(form);
         // 添加状态记录
         addRepairStatusRecord(form,"维修完成待审");
-        if(dto.getSbId()!=null) {
-            sbMeasureLogService.addUseOrUnUseLog(dto.getSbId(), SbMeasureLogOtherTypeEnum.REPAIR.getValue(), "维修");
+        if(form.getSbId()!=null) {
+            sbMeasureLogService.addUseOrUnUseLog(form.getSbId(), SbMeasureLogOtherTypeEnum.REPAIR.getValue(), "维修");
         }
         // 通知工程师审核
         SysUserVO vo = BeanConverterUtil.copyObjectProperties(sysUserMapper.selectByPrimaryKey(form.getDispatchUserId()),SysUserVO.class);