| | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询流程") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "applyId", value = "数据申请ID", dataType = "Integer", paramType = "query", example = "1") |
| | | @ApiImplicitParam(name = "id", value = "数据申请ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectFlows") |
| | | public ResponseMsg<Object> selectFlows(Integer applyId) { |
| | | public ResponseMsg<Object> selectFlows(Integer id) { |
| | | try { |
| | | List<FlowEntity> rs = applyService.selectFlows(applyId); |
| | | List<FlowEntity> rs = applyService.selectFlows(id); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | |
| | | @SysLog() |
| | | @ApiOperation(value = "废弃申请") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "applyId", value = "数据申请ID", dataType = "Integer", paramType = "query", example = "1") |
| | | @ApiImplicitParam(name = "id", value = "数据申请ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteForDiscard") |
| | | public ResponseMsg<Object> deleteForDiscard(Integer applyId) { |
| | | @GetMapping(value = "/updateForDiscard") |
| | | public ResponseMsg<Object> updateForDiscard(Integer id) { |
| | | try { |
| | | // |
| | | int rows = applyService.updateForDiscard(id); |
| | | |
| | | return success(null); |
| | | return success(rows); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |