ProjectInfoMapper.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /**
  2. * BladeX Commercial License Agreement
  3. * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
  4. * <p>
  5. * Use of this software is governed by the Commercial License Agreement
  6. * obtained after purchasing a license from BladeX.
  7. * <p>
  8. * 1. This software is for development use only under a valid license
  9. * from BladeX.
  10. * <p>
  11. * 2. Redistribution of this software's source code to any third party
  12. * without a commercial license is strictly prohibited.
  13. * <p>
  14. * 3. Licensees may copyright their own code but cannot use segments
  15. * from this software for such purposes. Copyright of this software
  16. * remains with BladeX.
  17. * <p>
  18. * Using this software signifies agreement to this License, and the software
  19. * must not be used for illegal purposes.
  20. * <p>
  21. * THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
  22. * not liable for any claims arising from secondary or illegal development.
  23. * <p>
  24. * Author: Chill Zhuang (bladejava@qq.com)
  25. */
  26. package org.springblade.modules.project.mapper;
  27. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  28. import com.baomidou.mybatisplus.core.metadata.IPage;
  29. import org.apache.ibatis.annotations.Param;
  30. import org.springblade.modules.project.pojo.dto.DataStatDTO;
  31. import org.springblade.modules.project.pojo.dto.ProjectInfoPageDTO;
  32. import org.springblade.modules.project.pojo.entity.ProjectInfo;
  33. import org.springblade.modules.project.pojo.vo.*;
  34. import org.springblade.modules.system.pojo.entity.ApiScope;
  35. import java.time.LocalDate;
  36. import java.util.List;
  37. /**
  38. * Mapper 接口
  39. *
  40. * @author BladeX
  41. */
  42. public interface ProjectInfoMapper extends BaseMapper<ProjectInfo> {
  43. ProjectInfoDetailVO detail(@Param("id") Long id);
  44. ProjectAndPlanDetailVO detail2(Long id);
  45. List<ProjectInvestPlanVO> getAllPlanByProjectId(@Param("id") Long id);
  46. List<ProjectPlanProgressVO> getAllProgressByProjectId(@Param("id") Long id);
  47. IPage<ProjectInfoVO> page(IPage<ProjectInfoVO> page,@Param("dto") ProjectInfoPageDTO dto);
  48. List<DataProjectStatVO2> dataProjectStat(@Param("dto") DataStatDTO dto);
  49. List<DataInvestStatVO2> dataInvestStat(@Param("dto") DataStatDTO dto);
  50. List<DataScheduleStatVO2> dataScheduleStat(@Param("dto") DataStatDTO dto);
  51. LocalDate dataEndDate();
  52. void deleteWarning();
  53. List<InvestPlanWarningVO> getAllYearPlan();
  54. }