Commit 2f9265fc authored by caotao's avatar caotao

新增流程完成生成新的登记证编号并更新es与注册信息记录表

parent 98e761df
......@@ -383,6 +383,12 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
makeEquipmentsInvalid(equipId,currentDocumentId);
//更新使用注册登记证编号
idxBizJgRegisterInfoMapper.updateUseOrgCodeByEquip(equipId,newUseRegistrationCertificateNumber);
//es中的编号信息
Map<String,Map<String,Object>> resultMap = new HashMap<>();
Map<String,Object> map1 =new HashMap<>();
map1.put("USE_ORG_CODE",newUseRegistrationCertificateNumber );
resultMap.put(equipId,map1);
tzsServiceFeignClient.commonUpdateEsDataByIds(resultMap);
}
}
/*
......
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