1234567891011121314151617181920212223 |
- package com.yihu.hos.dao;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.jdbc.core.JdbcTemplate;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- import java.util.Map;
- @Repository("BrokerDao")
- public class BrokerDao {
- public static final String BEAN_ID = "BrokerDao";
- @Autowired
- private JdbcTemplate jdbcTemplate;
- public List<Map<String, Object>> getSystemServiceFlowList() throws Exception {
- return jdbcTemplate.queryForList("select * from system_service_flow");
- }
- public List<Map<String, Object>> getSystemServiceFlowClassList() throws Exception {
- return jdbcTemplate.queryForList("select * from system_service_flow_class");
- }
- }
|