Commit fa68f06e authored by xuxin's avatar xuxin

调试 分配店铺的功能

parent bd6a5241
......@@ -328,6 +328,7 @@ public class ShopServiceImpl implements ShopService {
// 6. 封装 目标账户的 usershop信息并保存
userShop1 = new UserShop(account1.getName(), shops.get(0).getShopId(), "-1");
userShopRepository.save(userShop1);
logger.info("---------assign shops-----------" + userShop1.toString());
}
} else {
shops.forEach(
......@@ -339,6 +340,7 @@ public class ShopServiceImpl implements ShopService {
}
userShop1 = new UserShop(account1.getName(), shop.getShopId(), "-1");
userShopRepository.save(userShop1);
logger.info("---------assign shops-----------" + userShop1.toString());
}
}
);
......
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