| | |
| | | } |
| | | } |
| | | |
| | | @PostMapping("componentRelatedSubmit") |
| | | @ApiOperation(value="散装件-产品审批提交",notes = "type:1(关联),2(替换),3(删除),4(解除);散装件-产品的信息在approvingBomList,这个对象数组内,componentList为关联的散装件") |
| | | public Response componentProductSubmit(@RequestParam int type,@RequestBody WorksheetMain main){ |
| | | DocUser user = ActionUtil.getUser(); |
| | | boolean res = service.componentProductSubmit(type,main,user); |
| | | if(res) { |
| | | return new Response().set(1,true, "提交完成"); |
| | | }else{ |
| | | return new Response().set(1,false,"角色无法提交审批"); |
| | | } |
| | | } |
| | | |
| | | @GetMapping("statusStatistic") |
| | | @ApiOperation("获取工作流-各角色用户对应的工作台数据分类统计") |
| | | public Response<Map<String,Integer>> getStatusStatistic(){ |