Commit 11393347 authored by suhuiguang's avatar suhuiguang

feat(使用登记大编辑):

1.使用登记台套类编辑开发
parent d3f5b514
......@@ -801,6 +801,7 @@ public class UseRegisterUpdateService {
List<FieldChangeMeta> supervisionInfoFieldChangeMetas = commonEquipDataProcessService.simpleTrackAndUpdate(jgUseRegistrationService.getIdxBizJgSupervisionInfoMapper(), idxBizJgSupervisionInfoOld, idxBizJgSupervisionInfNew, useInfoNew.getRecord(), "record", useInfoNew.getRecord());
fieldChangeMetas.addAll(supervisionInfoFieldChangeMetas);
}
// todo 历史无证电梯维保信息可编辑 原有业务系统要改造在审核完成时更新json时 把维保流水seq写上 用来唯一一条更新
if ("2".equals(jgUseRegistration.getRegType()) && "3000".equals(hisData.getString("equList"))) {
IdxBizJgMaintenanceRecordInfo idxBizJgMaintenanceRecordInfoOld = jgUseRegistrationService.getIdxBizJgMaintenanceRecordInfoService().queryNewestDetailByRecord(useInfoNew.getRecord());
// 电梯处理维保信息
......@@ -813,7 +814,7 @@ public class UseRegisterUpdateService {
fieldChangeMetas.addAll(supervisionInfoFieldChangeMetas);
jgUseRegistrationService.historyEquUpdateMaintenanceInfo(hisData);
}
// 历史无证可编辑安装信息
// todo 历史无证可编辑安装信息 安装信息写入后需要把 流水表的主键写回json 用来唯一一条更新
if ("2".equals(jgUseRegistration.getRegType())) {
IdxBizJgConstructionInfo constructionInfoOld = jgUseRegistrationService.getIdxBizJgConstructionInfoService().queryNewestDetailByRecord(String.valueOf(hisData.get("equipId")));
IdxBizJgConstructionInfo constructionInfoNew = BeanUtil.copyProperties(constructionInfoOld, IdxBizJgConstructionInfo.class);
......
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