|
@@ -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);
|