package com.lh.mapper; import com.lh.bean.CrowdfundingInfo; import com.lh.bean.Participant; import org.apache.ibatis.annotations.Mapper; import java.util.List; @Mapper public interface CrowdfundingMapper { //加载页面 CrowdfundingInfo loadPage(); //修改标题 void updateTitle(String title); //修改众筹目标 void updateTarget(Integer target); //当前众筹数量+1 void updateNowNumber(); //修改状态 void updateStatus(Integer status); //添加众筹用户 void addCrowdUser(Participant participant); //删除众筹用户 void deleteCrowdUser(String jwcode); //删除用户添加到另一个表 void saveDeleteCrowdUser(Participant participant); //查询众筹用户 List queryCrowdUser(Participant participant); }