From 06b9727e1265c6bddf610a2a8d1c0e2d93e8326b Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期日, 25 十二月 2022 12:10:58 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/controller/show/ApplyController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/lf/server/controller/show/ApplyController.java b/src/main/java/com/lf/server/controller/show/ApplyController.java index cbefd1c..bca3b61 100644 --- a/src/main/java/com/lf/server/controller/show/ApplyController.java +++ b/src/main/java/com/lf/server/controller/show/ApplyController.java @@ -123,12 +123,12 @@ @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) { @@ -139,14 +139,14 @@ @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); } -- Gitblit v1.9.3