parent
d7a45a9b5e
commit
8ed9fc4b14
@ -0,0 +1,23 @@
|
||||
package com.example.flower.service.impl;
|
||||
|
||||
import com.example.flower.entity.Cart;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
@Repository
|
||||
public interface CartServiceImpl {
|
||||
PageInfo<Cart> cartList(int page, int page_size,int user_id);
|
||||
PageInfo<Cart> cartListByQuery(int page,int page_size,int user_id,String flower_name);
|
||||
void cartAdd(Cart cart);
|
||||
int cartDeletePer(int cart_id);
|
||||
int cartDeleteMul(int[] cart_ids);
|
||||
Cart cartInfo(int cart_id);
|
||||
int cartModify(Cart cart);
|
||||
int cartModify_num(Cart cart);
|
||||
List<Cart> cartRepeat(int user_id, int flower_id);
|
||||
int cartNum(int user_id);
|
||||
}
|
||||
Loading…
Reference in new issue