parent
020eda013a
commit
a96a6462bb
@ -0,0 +1,19 @@
|
||||
package com.example.flower.service.impl;
|
||||
|
||||
import com.example.flower.entity.Gift;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Mapper
|
||||
@Repository
|
||||
public interface GiftServiceImpl {
|
||||
PageInfo<Gift> giftList(int page, int page_size);
|
||||
PageInfo<Gift> giftListByQuery(int page,int page_size,String gift_name);
|
||||
void giftAdd(Gift gift);
|
||||
int giftDeletePer(int gift_id);
|
||||
int giftDeleteMul(int[] gift_ids);
|
||||
Gift giftInfo(int gift_id);
|
||||
int giftModify(Gift gift);
|
||||
int giftModifyStock(int gift_id,int gift_stock);
|
||||
}
|
||||
Loading…
Reference in new issue