New file |
| | |
| | | package com.panzhihua.applets.api; |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.common.AddComChangeCarModelSpecsChildrenDto; |
| | | import com.panzhihua.common.model.dtos.common.EditComChangeCarModelSpecsChildrenDto; |
| | | import com.panzhihua.common.model.dtos.common.PageComChangeCarModelSpecsChildrenDto; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.common.ComChangeCarModelSpecsChildrenVo; |
| | | import com.panzhihua.common.service.community.ComChangeCarModelSpecsChildrenFeign; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * title: 换新车-车型子规格表(ComChangeCarModelSpecsChildren) 表控制层 |
| | | * <p> |
| | | * projectName 成都呐喊信息技术有限公司-智慧社区项目 |
| | | * <p> |
| | | * description: 换新车-车型子规格表 |
| | | * |
| | | * @author lyq |
| | | * @date 2022-04-07 13:55:33 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = {"换新车-车型规格下子规格管理"}) |
| | | @RestController |
| | | @RequestMapping("/comChangeCarModelSpecsChildren") |
| | | public class ComChangeCarModelSpecsChildrenApi extends BaseController { |
| | | |
| | | @Resource |
| | | private ComChangeCarModelSpecsChildrenFeign comChangeCarModelSpecsChildrenService; |
| | | |
| | | /** |
| | | * description queryByPage 查询列表 |
| | | * |
| | | * @param comChangeCarModelSpecsChildren 请求参数 |
| | | * @return 列表数据 |
| | | * @author lyq |
| | | * @date 2022-04-07 13:55:33 |
| | | */ |
| | | @ApiOperation(value = "查询车型规格下子规格管理列表",response = ComChangeCarModelSpecsChildrenVo.class) |
| | | @PostMapping("/list") |
| | | public R queryByList(@RequestBody PageComChangeCarModelSpecsChildrenDto comChangeCarModelSpecsChildren) { |
| | | return this.comChangeCarModelSpecsChildrenService.queryByList(comChangeCarModelSpecsChildren); |
| | | } |
| | | |
| | | } |
| | | |