| | |
| | | package com.ycl.controller; |
| | | |
| | | import com.ycl.common.group.Update; |
| | | import com.ycl.common.group.Add; |
| | | import com.ycl.domain.query.ProcessConfigInfoQuery; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import lombok.RequiredArgsConstructor; |
| | | import java.util.List; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import javax.validation.constraints.NotEmpty; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import com.ycl.service.ProcessConfigInfoService; |
| | | import com.ycl.common.base.Result; |
| | | import com.ycl.domain.form.ProcessConfigInfoForm; |
| | | import com.ycl.domain.query.ProcessConfigInfoQuery; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | |
| | | @GetMapping |
| | | @ApiOperation(value = "详情", notes = "详情") |
| | | @PreAuthorize("@ss.hasPermi('processConfigInfo:detail')") |
| | | public Result detail(@RequestParam String deployId, @RequestParam Integer deployVersion) { |
| | | return processConfigInfoService.detail(deployId, deployVersion); |
| | | public Result detail(@RequestParam String processDefId, @RequestParam Integer processDefVersion) { |
| | | return processConfigInfoService.detail(processDefId, processDefVersion); |
| | | } |
| | | |
| | | |
| | | @GetMapping("list") |
| | | @ApiOperation(value = "列表", notes = "列表") |
| | | // @PreAuthorize("@ss.hasPermi('processConfigInfo:list')") |
| | | public Result list(ProcessConfigInfoQuery query) { |
| | | return processConfigInfoService.list(query); |
| | | } |
| | | |
| | | |
| | | @GetMapping("page") |
| | | @ApiOperation(value = "列表", notes = "列表") |
| | | // @PreAuthorize("@ss.hasPermi('processConfigInfo:list')") |
| | | public Result page(ProcessConfigInfoQuery query) { |
| | | return processConfigInfoService.getPage(query); |
| | | } |
| | | } |