| | |
| | | @RestController |
| | | @AllArgsConstructor |
| | | public class MdmEngineClient implements IMdmEngineClient { |
| | | |
| | | private final MdmEngineService mdmEngineService; |
| | | |
| | | /** |
| | | * 传入业务类型以及相oid集合查询数据进行返回 |
| | | * |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 更新业务数据同时对码值表数据操作接口 |
| | | * |
| | | * @param btmType 业务类型 |
| | | * @param baseModels 处理数据 |
| | | * @return 处理状态 |
| | | */ |
| | | @Override |
| | | @PostMapping(UPDATE_BATCH_BY_TYPE) |
| | | public R<Integer>updateBatchBtypeDatas(String btmType, List<BaseModel> baseModels){ |
| | | try { |
| | | return mdmEngineService.updateBatchBtypeDatas(btmType,baseModels); |
| | | } catch (Exception e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | } |
| | | |
| | | } |