123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250 |
- package com.ozs.web.controller.home;
- import com.ozs.common.annotation.Log;
- import com.ozs.common.constant.ModularConstans;
- import com.ozs.common.core.controller.BaseController;
- import com.ozs.common.core.domain.AjaxResult;
- import com.ozs.common.enums.BusinessType;
- import com.ozs.plan.doman.vo.responseVo.PlanQuarterResponseVo;
- import com.ozs.plan.service.PlanYearsService;
- import com.ozs.pm.doman.vo.responseVo.PmDemandResVo;
- import com.ozs.pm.service.IPmDemandService;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import javax.annotation.Resource;
- import java.util.List;
- /**
- * 系统首页控制层
- *
- * @author buzhanyi
- */
- @RestController
- @RequestMapping("/home/systemHomepage")
- public class SystemHomepageController extends BaseController {
- @Resource
- private PlanYearsService planYearsService;
- @Resource
- private IPmDemandService pmDemandService;
- @ApiOperation(value = "需求单位首页计划管理总数")
- @GetMapping("/demandUnit/planManagement/total")
- public AjaxResult demandUnitPlanManagementTotal() {
- return planYearsService.demandUnitPlanManagementTotal();
- }
- @ApiOperation(value = "需求单位首页需求管理总数")
- @GetMapping("/demandUnit/demandManagement/total")
- public AjaxResult demandUnitDemandManagementTotal() {
- return planYearsService.demandUnitDemandManagementTotal();
- }
- @ApiOperation(value = "需求单位首页合同管理总数")
- @GetMapping("/demandUnit/contractManagement/total")
- public AjaxResult demandUnitContractManagementTotal() {
- return planYearsService.demandUnitContractManagementTotal();
- }
- @ApiOperation(value = "需求单位首页建设管理总数")
- @GetMapping("/demandUnit/constructionManagement/total")
- public AjaxResult demandUnitConstructionManagementTotal() {
- return planYearsService.demandUnitConstructionManagementTotal();
- }
- @ApiOperation(value = "采购管理部门首页计划管理总数")
- @GetMapping("/purchasingManagement/planManagement/total")
- public AjaxResult purchasingManagementPurchasingManagementTotal() {
- return planYearsService.purchasingManagementPurchasingManagementTotal();
- }
- @ApiOperation(value = "采购管理部门首页需求管理总数")
- @GetMapping("/purchasingManagement/demandManagement/total")
- public AjaxResult purchasingManagementDemandManagementTotal() {
- return planYearsService.purchasingManagementDemandManagementTotal();
- }
- @ApiOperation(value = "采购管理部门首页任务下达管理总数")
- @GetMapping("/purchasingManagement/taskRelease/total")
- public AjaxResult purchasingManagementTaskReleaseTotal() {
- return planYearsService.purchasingManagementTaskReleaseTotal();
- }
- @ApiOperation(value = "采购办首页采购执行管理总数")
- @GetMapping("/procurementOffice/procurementExecution/total")
- public AjaxResult procurementOfficeProcurementExecutionTotal() {
- return planYearsService.procurementOfficeProcurementExecutionTotal();
- }
- @ApiOperation(value = "采购办首已中标项目理总数")
- @GetMapping("/procurementOffice/winningTheBid/total")
- public AjaxResult procurementOfficeWinningTheBidTotal() {
- return planYearsService.procurementOfficeWinningTheBidTotal();
- }
- @ApiOperation(value = "采购办首未中标项目理总数")
- @GetMapping("/procurementOffice/failureToWinTheBid/total")
- public AjaxResult procurementOfficeFailureToWinTheBidTotal() {
- return planYearsService.procurementOfficeFailureToWinTheBidTotal();
- }
- @ApiOperation(value = "需求单位首页待办事项(全部)")
- @GetMapping("/demandUnit/will/total")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult demandUnitWillManipulateTotal() {
- return planYearsService.demandUnitWillManipulateTotal();
- }
- @ApiOperation(value = "需求单位首页待办事项(计划待提交)")
- @GetMapping("/demandUnit/will/planWaitCommit")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult planWaitCommit() {
- List<PlanQuarterResponseVo> vos = planYearsService.planWaitCommit();
- return AjaxResult.success(vos);
- }
- @ApiOperation(value = "需求单位首页待办事项(需求待提交)")
- @GetMapping("/demandUnit/will/demandWaitCommit")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult demandUnit() {
- List<PmDemandResVo> resVos = pmDemandService.demandWaitCommit();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "需求单位首页待办事项(合同待填制)")
- @GetMapping("/demandUnit/will/contractWaitFilled")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult contractWaitFilled() {
- List<PmDemandResVo> resVos = pmDemandService.contractWaitFilled();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "需求单位首页待办事项(项目建设待完成)")
- @GetMapping("/demandUnit/will/projectWaitFinish")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult projectWaitFinish() {
- List<PmDemandResVo> resVos = pmDemandService.projectWaitFinish();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购管理部门首页待办事项(全部)")
- @GetMapping("/purchasingManagement/will/total")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult purchasingManagementWillManipulateTotal() {
- return planYearsService.purchasingManagementWillManipulateTotal();
- }
- @ApiOperation(value = "采购管理部门首页待办事项(计划待审核)")
- @GetMapping("/purchasingManagement/will/planWaitExamine")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult planWaitExamine() {
- List<PlanQuarterResponseVo> resVos = planYearsService.planWaitExamine();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购管理部门首页待办事项(需求待审核)")
- @GetMapping("/purchasingManagement/will/demandWaitExamine")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult demandWaitExamine() {
- List<PmDemandResVo> resVos = pmDemandService.demandWaitExamine();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购管理部门首页待办事项(任务待下达)")
- @GetMapping("/purchasingManagement/will/taskWaitRelease")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult taskWaitRelease() {
- List<PmDemandResVo> resVos = pmDemandService.taskWaitRelease();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(全部)")
- @GetMapping("/procurementOffice/will/total")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult procurementOfficeWillManipulateTotal() {
- return pmDemandService.procurementOfficeWillManipulateTotal();
- }
- @ApiOperation(value = "采购办首页待办事项(采购需求对接)")
- @GetMapping("/procurementOffice/will/purchaseDemandDocking")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult purchaseDemandDocking() {
- List<PmDemandResVo> resVos = pmDemandService.purchaseDemandDocking();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(专家意见反馈)")
- @GetMapping("/procurementOffice/will/expertFeedback")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult expertFeedback() {
- List<PmDemandResVo> resVos = pmDemandService.expertFeedback();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(采购文件编制审核)")
- @GetMapping("/procurementOffice/will/procurementDocumentsReview")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult procurementDocumentsReview() {
- List<PmDemandResVo> resVos = pmDemandService.procurementDocumentsReview();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(采购公告发布)")
- @GetMapping("/procurementOffice/will/procurementAnnouncement")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult procurementAnnouncement() {
- List<PmDemandResVo> resVos = pmDemandService.procurementAnnouncement();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(标前质疑投诉)")
- @GetMapping("/procurementOffice/will/preBidQuery")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult preBidQuery() {
- List<PmDemandResVo> resVos = pmDemandService.preBidQuery();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(待开标)")
- @GetMapping("/procurementOffice/will/waitOpenBid")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult waitOpenBid() {
- List<PmDemandResVo> resVos = pmDemandService.waitOpenBid();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(评标结果公告)")
- @GetMapping("/procurementOffice/will/bidResultAnnouncement")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult bidResultAnnouncement() {
- List<PmDemandResVo> resVos = pmDemandService.bidResultAnnouncement();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(流废标处置)")
- @GetMapping("/procurementOffice/will/wasteBidHandle")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult wasteBidHandle() {
- List<PmDemandResVo> resVos = pmDemandService.wasteBidHandle();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(标后质疑)")
- @GetMapping("/procurementOffice/will/postBidQuery")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult postBidQuery() {
- List<PmDemandResVo> resVos = pmDemandService.postBidQuery();
- return AjaxResult.success(resVos);
- }
- @ApiOperation(value = "采购办首页待办事项(发函催告)")
- @GetMapping("/procurementOffice/will/sendLetter")
- @Log(title = ModularConstans.systemHome, businessType = BusinessType.QUERY)
- public AjaxResult willSendLetter() {
- List<PlanQuarterResponseVo> vos = planYearsService.willSendLetter();
- return AjaxResult.success(vos);
- }
- }
|