xuhy
2024-12-16 9de59eeae9728b9085c6e964a87ba54d2c85c2e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.jilongda.applet.controller;
 
 
import com.jilongda.applet.query.TStoreQuery;
import com.jilongda.applet.service.TStoreService;
import com.jilongda.applet.vo.TStoreVO;
import com.jilongda.common.basic.ApiResult;
import com.jilongda.common.basic.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
 
import org.springframework.web.bind.annotation.RestController;
 
/**
 * <p>
 * 门店表 前端控制器
 * </p>
 *
 * @author 无关风月
 * @since 2024-12-09
 */
@Api(tags = "门店表")
@RestController
@RequestMapping("/t-store")
public class TStoreController {
 
    @Autowired
    private TStoreService tStoreService;
 
    /**
     * 获取门店列表
     */
    @ApiOperation(value = "获取门店分页列表")
    @PostMapping(value = "/pageList")
    public ApiResult<PageInfo<TStoreVO>> pageList(@RequestBody TStoreQuery query) {
        return ApiResult.success(tStoreService.pageList(query));
    }
 
 
}