|
@@ -182,7 +182,7 @@ public class InterlockSummaryServiceImpl extends ServiceImpl<InterlockSummaryMap
|
|
|
interlockDetailMapper.insert(detail);
|
|
|
|
|
|
//新增对应联锁详细信息的点位列表
|
|
|
- interlockTagService.saveBatch(toTagList(dto,summaryId,summaryId));
|
|
|
+ interlockTagService.saveBatch(toTagList(dto,detail.getId(),summaryId));
|
|
|
}
|
|
|
|
|
|
if("0".equals(instrumentStatus)) i++; //0未投用1投用用哪个算正常状态 先按0未投用不正常算 TODO
|
|
@@ -262,7 +262,7 @@ public class InterlockSummaryServiceImpl extends ServiceImpl<InterlockSummaryMap
|
|
|
interlockDetailMapper.insert(detail);
|
|
|
|
|
|
//新增对应联锁详细信息的点位列表
|
|
|
- interlockTagService.saveBatch(toTagList(dto,summaryId,summaryId));
|
|
|
+ interlockTagService.saveBatch(toTagList(dto,detail.getId(),summaryId));
|
|
|
}
|
|
|
|
|
|
if("0".equals(instrumentStatus)) i++; //0未投用1投用用哪个算正常状态 先按0未投用不正常算//TODO
|