增加根据门店查询车型的接口实现

This commit is contained in:
2025-07-13 11:57:10 +08:00
parent 867a669836
commit 9ded13d973
4 changed files with 151 additions and 4 deletions

View File

@ -29,7 +29,7 @@ public class WebLogAspect {
/** 以 controller 包下定义的所有请求为切入点 */
@Pointcut("execution(public * com.sczx.*.controller.*.*(..))")
@Pointcut("execution(public * com..controller..*.*(..))")
public void webLog() {}
/**

View File

@ -29,7 +29,7 @@ public class CarModelController {
@ApiOperation(value = "分页查询门店车型列表")
@PostMapping("/pageStoreCarModel")
Result<IPage<CarModelSimpleDTO>> pageStoreCarModel(@RequestParam(name = "pageNo", required = false, defaultValue = "1") Integer pageNo,
public Result<IPage<CarModelSimpleDTO>> pageStoreCarModel(@RequestParam(name = "pageNo", required = false, defaultValue = "1") Integer pageNo,
@RequestParam(name = "pageSize", required = false, defaultValue = "10") Integer pageSize,
@RequestBody StoreCarModelReq storeCarModelReq){
return Result.ok(carModelService.pageCarModelSimpleDTO(storeCarModelReq, pageNo, pageSize));