|
|
@@ -1094,14 +1094,11 @@ public class TsfCartService {
|
|
|
}
|
|
|
|
|
|
public Cart getCartGoodsInfo(Cart param) {
|
|
|
- // Collection<Cart> result = new ArrayList<Cart>();
|
|
|
- /* cart.add(cartDao.selectCartGoodsInfo(param)); */
|
|
|
-
|
|
|
// 장바구니 상품 마스터 정보 조회
|
|
|
param.setFrontGb(TsfSession.getFrontGb());
|
|
|
Cart cart = cartDao.selectCartGoodsInfo(param);
|
|
|
if(cart == null) {
|
|
|
- throw new IllegalArgumentException("장바구니 상품 정보가 없습니다.<br/>새로고침 후 다시 시도해주세요.");
|
|
|
+ throw new IllegalStateException("장바구니 상품 정보가 없습니다.\n새로고침 후 다시 시도해주세요.");
|
|
|
}
|
|
|
|
|
|
if(TscConstants.GoodsStat.SOLDOUT.value().equals(cart.getGoodsStat())) {
|