|
@@ -79,7 +79,7 @@ public class IotFailureReportServiceImpl implements IotFailureReportService {
|
|
IotMaintainDO iotMaintainDO = new IotMaintainDO();
|
|
IotMaintainDO iotMaintainDO = new IotMaintainDO();
|
|
BeanUtils.copyProperties(failureReportDO, iotMaintainDO);
|
|
BeanUtils.copyProperties(failureReportDO, iotMaintainDO);
|
|
iotMaintainDO.setStatus("tx");
|
|
iotMaintainDO.setStatus("tx");
|
|
- iotMaintainDO.setAuditStatus(0);
|
|
|
|
|
|
+ //iotMaintainDO.setAuditStatus(0);
|
|
iotMaintainDO.setMaintainType("故障上报");
|
|
iotMaintainDO.setMaintainType("故障上报");
|
|
iotMaintainDO.setMaintainPerson(Objects.isNull(failureReportDO.getAssigneeUserId())? Long.valueOf(failureReportDO.getCreator()) :failureReportDO.getAssigneeUserId());
|
|
iotMaintainDO.setMaintainPerson(Objects.isNull(failureReportDO.getAssigneeUserId())? Long.valueOf(failureReportDO.getCreator()) :failureReportDO.getAssigneeUserId());
|
|
iotMaintainDO.setFailureId(failureReportDO.getId());
|
|
iotMaintainDO.setFailureId(failureReportDO.getId());
|