forked from ps2hc5nfx/youxi
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.
35 lines
595 B
35 lines
595 B
package com.ischoolbar.programmer.dao.home;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import com.ischoolbar.programmer.entity.home.Cart;
|
|
|
|
@Repository
|
|
public interface CartDao {
|
|
|
|
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);
|
|
}
|