From 0b7d3956104426517fbadaee526efa36d20112e7 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 27 二月 2025 16:30:21 +0800
Subject: [PATCH] 流程推进统计table内容调整
---
start/src/main/java/com/ycl/web/controller/tool/TestController.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/start/src/main/java/com/ycl/web/controller/tool/TestController.java b/start/src/main/java/com/ycl/web/controller/tool/TestController.java
index c4629de..5c775d1 100644
--- a/start/src/main/java/com/ycl/web/controller/tool/TestController.java
+++ b/start/src/main/java/com/ycl/web/controller/tool/TestController.java
@@ -47,9 +47,9 @@
}
@ApiOperation("鑾峰彇鐢ㄦ埛璇︾粏")
- @ApiImplicitParam(name = "userId", value = "鐢ㄦ埛ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class)
+ @ApiImplicitParam(name = "userId", value = "鐢ㄦ埛ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Long.class)
@GetMapping("/{userId}")
- public R<UserEntity> getUser(@PathVariable Integer userId)
+ public R<UserEntity> getUser(@PathVariable Long userId)
{
if (!users.isEmpty() && users.containsKey(userId))
{
@@ -63,7 +63,7 @@
@ApiOperation("鏂板鐢ㄦ埛")
@ApiImplicitParams({
- @ApiImplicitParam(name = "userId", value = "鐢ㄦ埛id", dataType = "Integer", dataTypeClass = Integer.class),
+ @ApiImplicitParam(name = "userId", value = "鐢ㄦ埛id", dataType = "long", dataTypeClass = Long.class),
@ApiImplicitParam(name = "username", value = "鐢ㄦ埛鍚嶇О", dataType = "String", dataTypeClass = String.class),
@ApiImplicitParam(name = "password", value = "鐢ㄦ埛瀵嗙爜", dataType = "String", dataTypeClass = String.class),
@ApiImplicitParam(name = "mobile", value = "鐢ㄦ埛鎵嬫満", dataType = "String", dataTypeClass = String.class)
@@ -97,9 +97,9 @@
}
@ApiOperation("鍒犻櫎鐢ㄦ埛淇℃伅")
- @ApiImplicitParam(name = "userId", value = "鐢ㄦ埛ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class)
+ @ApiImplicitParam(name = "userId", value = "鐢ㄦ埛ID", required = true, dataType = "long", paramType = "path", dataTypeClass = Long.class)
@DeleteMapping("/{userId}")
- public R<String> delete(@PathVariable Integer userId)
+ public R<String> delete(@PathVariable Long userId)
{
if (!users.isEmpty() && users.containsKey(userId))
{
--
Gitblit v1.8.0