Commit f0a95987 authored by suhuiguang's avatar suhuiguang

fix(大编辑):bug修复

1.使用登记审批完成时按照json更新技术参数、设计信息、安装信息 2管道es增加使用登记证编号
parent ac0d7738
......@@ -1295,10 +1295,11 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
idxBizJgDesignInfoService.update(lambdaDes);
// 安装信息修改
if (item.getString("constructionInfoSeq") != null) {
IdxBizJgConstructionInfo constructionInfo = idxBizJgConstructionInfoService.getById(item.getString("constructionInfoSeq"));
constructionInfo.setUscUnitName(item.getString("uscUnitName"));
constructionInfo.setUscDate(ValidationUtil.isEmpty(item.getString("uscDate")) ? null : DateUtil.parse(item.getString("uscDate"), DatePattern.NORM_MONTH_FORMAT));
idxBizJgConstructionInfoService.getBaseMapper().updateById(constructionInfo);
LambdaUpdateWrapper<IdxBizJgConstructionInfo> updateWrapper1 = new LambdaUpdateWrapper<>();
updateWrapper1.eq(TzsBaseEntity::getSequenceNbr, item.getString("constructionInfoSeq"));
updateWrapper1.set(IdxBizJgConstructionInfo::getUscUnitName, item.getString("uscUnitName"));
updateWrapper1.set(IdxBizJgConstructionInfo::getUscDate, ValidationUtil.isEmpty(item.getString("uscDate")) ? null : DateUtil.parse(item.getString("uscDate"), DatePattern.NORM_MONTH_FORMAT));
idxBizJgConstructionInfoService.update(updateWrapper1);
}
}
}
......
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