ljw 2025-12-10 16:41:35 +08:00
parent 7c06ca1984
commit 03d415d7bc
10 changed files with 10 additions and 10 deletions

View File

@ -53,7 +53,7 @@ public class DriverController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<DriverEntity> detail(@RequestParam Long id) { public R<DriverEntity> detail(@RequestParam("id") Long id) {
return R.success(driverService.detail(id)); return R.success(driverService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class ProjectController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<ProjectEntity> detail(@RequestParam Long id) { public R<ProjectEntity> detail(@RequestParam("id") Long id) {
return R.success(projectService.detail(id)); return R.success(projectService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class StationController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<StationEntity> detail(@RequestParam Long id) { public R<StationEntity> detail(@RequestParam("id") Long id) {
return R.success(stationService.detail(id)); return R.success(stationService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class TruckController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<TruckEntity> detail(@RequestParam Long id) { public R<TruckEntity> detail(@RequestParam("id") Long id) {
return R.success(truckService.detail(id)); return R.success(truckService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class BillController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<BillEntity> detail(@RequestParam Long id) { public R<BillEntity> detail(@RequestParam("id") Long id) {
return R.success(billService.detail(id)); return R.success(billService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class ExpenseItemController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<ExpenseItemEntity> detail(@RequestParam Long id) { public R<ExpenseItemEntity> detail(@RequestParam("id") Long id) {
return R.success(expenseItemService.detail(id)); return R.success(expenseItemService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class MoneyAccountController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<MoneyAccountEntity> detail(@RequestParam Long id) { public R<MoneyAccountEntity> detail(@RequestParam("id") Long id) {
return R.success(moneyAccountService.detail(id)); return R.success(moneyAccountService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class MoneyFlowController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<MoneyFlowEntity> detail(@RequestParam Long id) { public R<MoneyFlowEntity> detail(@RequestParam("id") Long id) {
return R.success(moneyFlowService.detail(id)); return R.success(moneyFlowService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class GoodsController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<GoodsEntity> detail(@RequestParam Long id) { public R<GoodsEntity> detail(@RequestParam("id") Long id) {
return R.success(goodsService.detail(id)); return R.success(goodsService.detail(id));
} }

View File

@ -53,7 +53,7 @@ public class GoodsCategoryController {
* *
*/ */
@GetMapping("/detail") @GetMapping("/detail")
public R<GoodsCategoryEntity> detail(@RequestParam Long id) { public R<GoodsCategoryEntity> detail(@RequestParam("id") Long id) {
return R.success(goodsCategoryService.detail(id)); return R.success(goodsCategoryService.detail(id));
} }