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.

38 lines
826 B

5 months ago
5 months ago
5 months ago
  1. package com.lh.mapper;
  2. import com.lh.bean.CrowdfundingInfo;
  3. import com.lh.bean.Participant;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import java.util.List;
  6. @Mapper
  7. public interface CrowdfundingMapper {
  8. //加载页面
  9. CrowdfundingInfo loadPage();
  10. //修改标题
  11. void updateTitle(String title);
  12. //修改众筹目标
  13. void updateTarget(Integer target);
  14. //当前众筹数量+1
  15. void updateNowNumber();
  16. //修改状态
  17. void updateStatus(Integer status);
  18. //添加众筹用户
  19. void addCrowdUser(Participant participant);
  20. //删除众筹用户
  21. void deleteCrowdUser(String jwcode);
  22. //删除用户添加到另一个表
  23. void saveDeleteCrowdUser(Participant participant);
  24. //查询众筹用户
  25. List<Participant> queryCrowdUser(Participant participant);
  26. }