예제 #1
0
 @Override
 public Shop updateShop(Shop shop) {
   if (shop == null) {
     return null;
   }
   long nowUtcTime = dateFactory.nowUTCDate().getTime();
   shop.setModifiedAt(nowUtcTime);
   return shopDao.save(shop);
 }
예제 #2
0
 @Override
 public void archiveShop(long shopKey) {
   long nowUtcTime = dateFactory.nowUTCDate().getTime();
   shopDao.archiveShop(shopKey, nowUtcTime);
 }