|
|
@ -592,7 +592,8 @@ public class DeviceSpotInspectionRecordMainServiceImpl implements DeviceSpotInsp |
|
|
|
if (null != deviceAccountsDO) { |
|
|
|
deviceSpotInspectionRecordMain.setDeptId(Long.parseLong(deviceAccountsDO.getFactoryAreaNumber())); |
|
|
|
} |
|
|
|
|
|
|
|
deviceSpotInspectionRecordMain.setCreator("-1"); |
|
|
|
deviceSpotInspectionRecordMain.setCreateTime(LocalDateTime.now()); |
|
|
|
deviceSpotInspectionRecordMainMapper.insert(deviceSpotInspectionRecordMain); |
|
|
|
|
|
|
|
List<DeviceSpotInspectionRecordDetailDO> deviceSpotInspectionRecordDetailDOList = new ArrayList<>(); |
|
|
@ -604,6 +605,8 @@ public class DeviceSpotInspectionRecordMainServiceImpl implements DeviceSpotInsp |
|
|
|
inspectionRecordDetailDO.setName(deviceMoldItemsDO.getName()); |
|
|
|
inspectionRecordDetailDO.setEquipmentPosition(deviceMoldItemsDO.getEquipmentParts()); |
|
|
|
inspectionRecordDetailDO.setIsConform("TRUE"); |
|
|
|
inspectionRecordDetailDO.setCreator("-1"); |
|
|
|
inspectionRecordDetailDO.setCreateTime(LocalDateTime.now()); |
|
|
|
deviceSpotInspectionRecordDetailDOList.add(inspectionRecordDetailDO); |
|
|
|
} |
|
|
|
deviceSpotInspectionRecordDetailMapper.insertBatch(deviceSpotInspectionRecordDetailDOList); |
|
|
|