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