This commit is contained in:
parent
3e464f97ed
commit
ec0b7aedc2
|
@ -8,10 +8,7 @@ import com.ruoyi.database.service.gwglLogService;
|
|||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -30,7 +27,7 @@ public class gwglLogController extends BaseController {
|
|||
private final gwglLogService gwglLogService;
|
||||
|
||||
@ApiOperation("查询审批日志")
|
||||
@RequestMapping("/list")
|
||||
@PostMapping("/list")
|
||||
public TableDataInfo query(@RequestBody gwglLog gwglLog){
|
||||
startPage();
|
||||
QueryWrapper<gwglLog> queryWrapper = new QueryWrapper<>(gwglLog);
|
||||
|
@ -39,7 +36,7 @@ public class gwglLogController extends BaseController {
|
|||
}
|
||||
|
||||
@ApiOperation("根据编号查询日志")
|
||||
@RequestMapping("/detail/{applyNo}")
|
||||
@GetMapping("/detail/{applyNo}")
|
||||
public TableDataInfo detail(@PathVariable String applyNo){
|
||||
QueryWrapper<gwglLog> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("apply_no", applyNo);
|
||||
|
|
Loading…
Reference in New Issue