管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-12-25 06b9727e1265c6bddf610a2a8d1c0e2d93e8326b
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);
        }