|
@@ -2,6 +2,7 @@ package com.ruoyi.web.controller.projectV2.common;
|
|
|
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
+import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
import com.ruoyi.common.core.redis.RedisCache;
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
import com.ruoyi.system.domain.projectV2.*;
|
|
@@ -34,30 +35,28 @@ public class ZsyzCommonController extends BaseController {
|
|
|
@Autowired
|
|
|
private IZsyzSbbzbService zsyzSbbzbService;
|
|
|
|
|
|
- @Autowired
|
|
|
- private IZsyzProjectDeptService zsyzProjectDeptService;
|
|
|
-
|
|
|
@Autowired
|
|
|
private IZsyzCommonService zsyzCommonService;
|
|
|
- @Autowired
|
|
|
- private IZsyzLcjlService zsyzLcjlService;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 首页统计
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/census")
|
|
|
- public AjaxResult census( ZsyzSbbzb zsyzSbbzb) {
|
|
|
- return zsyzCommonService.census(zsyzSbbzb);
|
|
|
+ public AjaxResult census(ZsyzSbbzb zsyzSbbzb) {
|
|
|
+ return zsyzCommonService.census(zsyzSbbzb);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 首页统计折线图
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/censusXy")
|
|
|
public AjaxResult censusXy() {
|
|
|
- return zsyzCommonService.censusXy();
|
|
|
+ return zsyzCommonService.censusXy();
|
|
|
}
|
|
|
|
|
|
/***
|
|
@@ -68,11 +67,12 @@ public class ZsyzCommonController extends BaseController {
|
|
|
*/
|
|
|
@GetMapping("/statistics/month")
|
|
|
public AjaxResult statisticsMonth(String year, String month) {
|
|
|
- return AjaxResult.success(zsyzCommonService.statisticsMonth(year,month));
|
|
|
+ return AjaxResult.success(zsyzCommonService.statisticsMonth(year, month));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 生成项目编号接口
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/xmbh")
|
|
@@ -95,66 +95,71 @@ public class ZsyzCommonController extends BaseController {
|
|
|
|
|
|
/**
|
|
|
* 项目指派接口
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/xszp")
|
|
|
@PreAuthorize("@ss.hasPermi('projectV2:common:xszp')")
|
|
|
public AjaxResult xszp(@RequestBody ZpVo zpVo) {
|
|
|
- return zsyzCommonService.xszp(zpVo);
|
|
|
+ return zsyzCommonService.xszp(zpVo);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 线索暂存/终止接口
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/xszc")
|
|
|
@PreAuthorize("@ss.hasPermi('projectV2:common:xszc')")
|
|
|
public AjaxResult xszc(@RequestBody ZsyzSbbzb zsyzSbbzb) {
|
|
|
- return toAjax(zsyzSbbzbService.updateZsyzSbbzbForZc(zsyzSbbzb));
|
|
|
+ return toAjax(zsyzSbbzbService.updateZsyzSbbzbForZc(zsyzSbbzb));
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 招商中心项目审核/驳回接口
|
|
|
* 参数是审核建议
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/xssh")
|
|
|
@PreAuthorize("@ss.hasPermi('projectV2:common:xssh')")
|
|
|
public AjaxResult xssh(@RequestBody ZsyzShyj zsyzShyj) {
|
|
|
//所有审核需要往审核意见表插入数据
|
|
|
- return zsyzCommonService.xssh(zsyzShyj);
|
|
|
+ return zsyzCommonService.xssh(zsyzShyj);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* Cjd的项目审核/驳回接口
|
|
|
* 参数是审核建议
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/xsshCjd")
|
|
|
@PreAuthorize("@ss.hasPermi('projectV2:common:xsshCjd')")
|
|
|
public AjaxResult xsshCjd(@RequestBody ZsyzShyj zsyzShyj) {
|
|
|
//所有审核需要往审核意见表插入数据
|
|
|
- return zsyzCommonService.xsshCjd(zsyzShyj);
|
|
|
+ return zsyzCommonService.xsshCjd(zsyzShyj);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 要素部门的项目审核/驳回接口
|
|
|
* 参数是审核建议
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/xsshYsbm")
|
|
|
@PreAuthorize("@ss.hasPermi('projectV2:common:xsshYsbm')")
|
|
|
public AjaxResult xsshYsbm(@RequestBody ZsyzShyj zsyzShyj) {
|
|
|
//所有审核需要往审核意见表插入数据
|
|
|
- return zsyzCommonService.xsshYsbm(zsyzShyj);
|
|
|
+ return zsyzCommonService.xsshYsbm(zsyzShyj);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 项目撤回
|
|
|
* 参数是项目
|
|
|
+ *
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/xsch")
|
|
@@ -162,4 +167,18 @@ public class ZsyzCommonController extends BaseController {
|
|
|
public AjaxResult xsch(@RequestBody ZsyzSbbzb zsyzSbbzb) {
|
|
|
return zsyzCommonService.xsch(zsyzSbbzb);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询招商引资_审核意见列表/APP使用首页问题列表
|
|
|
+ */
|
|
|
+
|
|
|
+ @GetMapping("/wt")
|
|
|
+ public TableDataInfo wt() {
|
|
|
+ startPage();
|
|
|
+ ZsyzSbbzb zsyzSbbzb = new ZsyzSbbzb();
|
|
|
+ zsyzSbbzb.setXmStatus(THR);
|
|
|
+ List<ZsyzSbbzb> list = zsyzSbbzbService.selectZsyzSbbzbList(zsyzSbbzb);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
}
|