Package net.risesoft.controller
Class OpinionFrameRestController
- java.lang.Object
-
- net.risesoft.controller.OpinionFrameRestController
-
@RestController @RequestMapping(value="/vue/opinionFrame", produces="application/json") public class OpinionFrameRestController extends Object- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description OpinionFrameRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<OpinionFrame>getOpinionFrame(String id)获取意见框net.risesoft.pojo.Y9Page<OpinionFrame>list(Integer page, Integer rows)获取意见框列表net.risesoft.pojo.Y9Page<OpinionFrame>list4NotUsed(String itemId, String processDefinitionId, String taskDefKey, int page, int rows)获取绑定的意见框列表net.risesoft.pojo.Y9Result<String>remove(String[] ids)移除意见框,同时将流程中绑定的意见框一并移除net.risesoft.pojo.Y9Result<String>saveOrUpdate(OpinionFrame opinionFrame)保存意见框net.risesoft.pojo.Y9Page<OpinionFrame>search(Integer page, Integer rows, String keyword)根据关键字查找意见net.risesoft.pojo.Y9Page<OpinionFrame>search4NotUsed(String itemId, String processDefinitionId, String taskDefKey, int page, int rows, String keyword)根据关键字查找意见
-
-
-
Method Detail
-
getOpinionFrame
@GetMapping("/getOpinionFrame") public net.risesoft.pojo.Y9Result<OpinionFrame> getOpinionFrame(@RequestParam String id)获取意见框- Parameters:
id- 意见框id- Returns:
-
list
@GetMapping("/list") public net.risesoft.pojo.Y9Page<OpinionFrame> list(@RequestParam Integer page, @RequestParam Integer rows)获取意见框列表- Parameters:
page- 页码rows- 条数- Returns:
-
list4NotUsed
@GetMapping("/list4NotUsed") public net.risesoft.pojo.Y9Page<OpinionFrame> list4NotUsed(@RequestParam String itemId, @RequestParam String processDefinitionId, @RequestParam(required=false) String taskDefKey, @RequestParam int page, @RequestParam int rows)获取绑定的意见框列表- Parameters:
itemId- 事项idprocessDefinitionId- 流程定义idtaskDefKey- 任务keypage- 页码rows- 条数- Returns:
-
remove
@PostMapping("/remove") public net.risesoft.pojo.Y9Result<String> remove(@RequestParam String[] ids)移除意见框,同时将流程中绑定的意见框一并移除- Parameters:
ids- 意见框ids- Returns:
-
saveOrUpdate
@PostMapping("/saveOrUpdate") public net.risesoft.pojo.Y9Result<String> saveOrUpdate(OpinionFrame opinionFrame)保存意见框- Parameters:
opinionFrame- 意见框信息- Returns:
-
search
@GetMapping("/search") public net.risesoft.pojo.Y9Page<OpinionFrame> search(@RequestParam Integer page, @RequestParam Integer rows, @RequestParam(required=false) String keyword)根据关键字查找意见- Parameters:
page- 页码rows- 条数keyword- 意见框名称- Returns:
-
search4NotUsed
@GetMapping("/search4NotUsed") public net.risesoft.pojo.Y9Page<OpinionFrame> search4NotUsed(@RequestParam String itemId, @RequestParam String processDefinitionId, @RequestParam(required=false) String taskDefKey, @RequestParam int page, @RequestParam int rows, @RequestParam(required=false) String keyword)根据关键字查找意见- Parameters:
itemId- 事项idprocessDefinitionId- 流程定义idtaskDefKey- 任务keypage- 页码rows- 条数keyword- 意见名称- Returns:
-
-