@Test public void updateMs() { tacMsDO.setName("updated"); redisMsService.updateMs(tacMsDO.getCode(), tacMsDO); TacMsDO ms = redisMsService.getMs(tacMsDO.getCode()); assertEquals(ms.getName(), "updated"); }
@Override public Boolean updateMs(String msCode, TacMsDO tacMsDO) { hashOperations.put(getMainKey(), msCode, tacMsDO); return true; }
RedisMsService implements IMsService { @Override public Boolean updateMs(String msCode, TacMsDO tacMsDO) { hashOperations.put(getMainKey(), msCode, tacMsDO); return true; } }
RedisMsService implements IMsService { @Override public Boolean updateMs(String msCode, TacMsDO tacMsDO) { hashOperations.put(getMainKey(), msCode, tacMsDO); return true; }  }
RedisMsService implements IMsService { @Override public Boolean updateMs(String msCode, TacMsDO tacMsDO) { hashOperations.put(getMainKey(), msCode, tacMsDO); return true; }  @Override TacMsDO createMs(TacMsDO tacMsDO); @Override Boolean removeMs(String msCode); @Override Boolean invalidMs(String msCode); @Override Boolean updateMs(String msCode, TacMsDO tacMsDO); @Override TacMsDO getMs(String msCode); @Override List<TacMsDO> getAllMs(); }
RedisMsService implements IMsService { @Override public Boolean updateMs(String msCode, TacMsDO tacMsDO) { hashOperations.put(getMainKey(), msCode, tacMsDO); return true; }  @Override TacMsDO createMs(TacMsDO tacMsDO); @Override Boolean removeMs(String msCode); @Override Boolean invalidMs(String msCode); @Override Boolean updateMs(String msCode, TacMsDO tacMsDO); @Override TacMsDO getMs(String msCode); @Override List<TacMsDO> getAllMs();  }