Commit a92aecfa authored by suhuiguang's avatar suhuiguang

1.安装告知更新冗余的装置名称

parent 51372dac
...@@ -1624,6 +1624,11 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN ...@@ -1624,6 +1624,11 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
installationInfo.put("pipelineLength", projectContraption.getPipelineLength()); installationInfo.put("pipelineLength", projectContraption.getPipelineLength());
installationInfo.put("projectContraptionNo", projectContraption.getProjectContraptionNo()); installationInfo.put("projectContraptionNo", projectContraption.getProjectContraptionNo());
installationInfo.put("projectContraption", projectContraption.getProjectContraption()); installationInfo.put("projectContraption", projectContraption.getProjectContraption());
// 装置安装告知冗余的装置名称
LambdaUpdateWrapper<JgInstallationNotice> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(BaseEntity::getSequenceNbr, jgInstallationNotice.getSequenceNbr());
updateWrapper.set(JgInstallationNotice::getProjectContraption, projectContraption.getProjectContraption());
this.update(updateWrapper);
} }
equipListMaps = jgInstallationNoticeMapper.getPipelineEquInfoByRecords(ids); equipListMaps = jgInstallationNoticeMapper.getPipelineEquInfoByRecords(ids);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment