|
@@ -1,3 +1,4 @@
|
|
|
+/*
|
|
|
package org.jeecg.modules.ctop.controller;
|
|
|
|
|
|
import cn.com.ctop.common.module.entity.ActCustomForm;
|
|
@@ -16,8 +17,10 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
import org.jeecg.common.system.query.QueryGenerator;
|
|
|
import org.jeecg.common.util.oConvertUtils;
|
|
|
-import org.jeecg.modules.activiti.entity.ActZprocess;
|
|
|
-import org.jeecg.modules.activiti.service.IActZprocessService;
|
|
|
+*/
|
|
|
+/*import org.jeecg.modules.activiti.entity.ActZprocess;
|
|
|
+import org.jeecg.modules.activiti.service.IActZprocessService;*//*
|
|
|
+
|
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
|
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
|
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
@@ -39,12 +42,14 @@ import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 自定义表单关联流程信息
|
|
|
* @author jeecg-boot
|
|
|
* @date 2020-08-25
|
|
|
* @version V1.0
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@Slf4j
|
|
|
@Api(tags="自定义表单关联流程信息")
|
|
|
@RestController
|
|
@@ -77,14 +82,16 @@ public class ActFormPorcessController {
|
|
|
actFormPorcessService.save(actFormPorcess);
|
|
|
return result;
|
|
|
}
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 分页列表查询
|
|
|
* @param actFormPorcess
|
|
|
* @param pageNo
|
|
|
* @param pageSize
|
|
|
* @param req
|
|
|
* @return
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@ApiOperation(value="自定义表单关联流程信息-分页列表查询", notes="自定义表单关联流程信息-分页列表查询")
|
|
|
@GetMapping(value = "/list")
|
|
|
public Result<IPage<ActFormPorcess>> queryPageList(ActFormPorcess actFormPorcess,
|
|
@@ -100,11 +107,13 @@ public class ActFormPorcessController {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 添加
|
|
|
* @param actFormPorcess
|
|
|
* @return
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@ApiOperation(value="自定义表单关联流程信息-添加", notes="自定义表单关联流程信息-添加")
|
|
|
@PostMapping(value = "/add")
|
|
|
public Result<ActFormPorcess> add(@RequestBody ActFormPorcess actFormPorcess) {
|
|
@@ -119,11 +128,13 @@ public class ActFormPorcessController {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 编辑
|
|
|
* @param actFormPorcess
|
|
|
* @return
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@ApiOperation(value="自定义表单关联流程信息-编辑", notes="自定义表单关联流程信息-编辑")
|
|
|
@PutMapping(value = "/edit")
|
|
|
public Result<ActFormPorcess> edit(@RequestBody ActFormPorcess actFormPorcess) {
|
|
@@ -141,11 +152,13 @@ public class ActFormPorcessController {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 通过id删除
|
|
|
* @param id
|
|
|
* @return
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@ApiOperation(value="自定义表单关联流程信息-通过id删除", notes="自定义表单关联流程信息-通过id删除")
|
|
|
@DeleteMapping(value = "/delete")
|
|
|
public Result<?> delete(@RequestParam(name="id",required=true) String id) {
|
|
@@ -158,11 +171,13 @@ public class ActFormPorcessController {
|
|
|
return Result.ok("删除成功!");
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 批量删除
|
|
|
* @param ids
|
|
|
* @return
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@ApiOperation(value="自定义表单关联流程信息-批量删除", notes="自定义表单关联流程信息-批量删除")
|
|
|
@DeleteMapping(value = "/deleteBatch")
|
|
|
public Result<ActFormPorcess> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
|
|
@@ -176,11 +191,13 @@ public class ActFormPorcessController {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 通过id查询
|
|
|
* @param id
|
|
|
* @return
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@ApiOperation(value="自定义表单关联流程信息-通过id查询", notes="自定义表单关联流程信息-通过id查询")
|
|
|
@GetMapping(value = "/queryById")
|
|
|
public Result<ActFormPorcess> queryById(@RequestParam(name="id",required=true) String id) {
|
|
@@ -195,12 +212,14 @@ public class ActFormPorcessController {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 导出excel
|
|
|
*
|
|
|
* @param request
|
|
|
* @param response
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@RequestMapping(value = "/exportXls")
|
|
|
public ModelAndView exportXls(HttpServletRequest request, HttpServletResponse response) {
|
|
|
// Step.1 组装查询条件
|
|
@@ -227,13 +246,15 @@ public class ActFormPorcessController {
|
|
|
return mv;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ */
|
|
|
+/**
|
|
|
* 通过excel导入数据
|
|
|
*
|
|
|
* @param request
|
|
|
* @param response
|
|
|
* @return
|
|
|
- */
|
|
|
+ *//*
|
|
|
+
|
|
|
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
|
|
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
|
|
MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
|
|
@@ -263,3 +284,4 @@ public class ActFormPorcessController {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+*/
|