package com.jwipc.supplier.controller.pc;

import com.jwipc.page.PageView;
import com.jwipc.supplier.constant.ModuleConst;
import com.jwipc.supplier.logic.BankLogic;
import com.jwipc.supplier.model.query.BankInfoQuery;
import com.jwipc.supplier.model.query.CustomerInfoQuery;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *list数据查询
 * </p>
 *
 * @author qizhicai
 * @since 2024-05-10
 */

@RestController
@RequestMapping(ModuleConst.MODULE_ROOT + "/bankInfo/rest")
@RequiredArgsConstructor
public class BankInfoRestController {

    private final BankLogic bankLogic;
    @GetMapping("list")
    public PageView list(BankInfoQuery query) {
        return bankLogic.list(query);
    }
}
