package com.nq.service.impl; import com.nq.controller.BankController; import com.nq.dao.BankMapper; import com.nq.pojo.Bank; import com.nq.service.IBankServices; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class BankServices implements IBankServices { @Autowired BankMapper bankMapper; @Override public List queryAll() { return bankMapper.queryAll(); } }