You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
593 B
34 lines
593 B
package com.ischoolbar.programmer.service.home;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import com.ischoolbar.programmer.entity.home.Cart;
|
|
|
|
@Service
|
|
public interface CartService {
|
|
|
|
|
|
public int add(Cart cart);
|
|
|
|
|
|
public int edit(Cart cart);
|
|
|
|
public int delete(Long id);
|
|
|
|
public int deleteByUid(Long userId);
|
|
|
|
public List<Cart> findList(Map<String, Object> queryMap);
|
|
|
|
|
|
public Integer getTotal(Map<String, Object> queryMap);
|
|
|
|
public Cart findById(Long id);
|
|
|
|
|
|
public Cart findByIds(Map<String, Long> queryMap);
|
|
|
|
}
|