This commit is contained in:
hanrenchun 2025-06-09 10:42:10 +08:00
parent 3e464f97ed
commit ec0b7aedc2
1 changed files with 3 additions and 6 deletions

View File

@ -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);