LideaServiceDAO { public LideaServiceBO put(LideaServiceBO bo) { Put put = LideaServiceEntry.of(bo); return hbaseTemplate.execute(Const.LIDEA_SERVICE_TABLE, (htable) -> { htable.put(put); return bo; }); }  LideaServiceBO put(LideaServiceBO bo); List<LideaServiceBO> scan(LideaServiceReq req);  }
@Test public void testPut() { LideaServiceBO bo = new LideaServiceBO(); bo.appName = "cabinet-base-server"; bo.serviceName = "com.fcbox.edms.terminal.api.CabinetServiceFacade"; bo = lideaServiceDAO.put(bo); System.out.println("=========================================================================================="); System.out.println(JSON.toJSONString(bo)); }