资源简介

此demo为简单测试项目,springBoot+mybatis+oracle,为2.0.4版本,里面直接把自己的url和账户密码替换即可使用,自用无问题

资源截图

代码片段和文件信息

package com.example.springboots;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@RestController
@EnableAutoConfiguration
public class Ceshi {
    @Resource
    private CeshiService ceshiService;

    @RequestMapping(“/ceshi“)
    public String ceshi(){
        return “ceshii“;
    }

    @RequestMapping(“/query“)
    public int query(){
        return ceshiService.query();
    }

    @RequestMapping(“/querylist“)
    public Listject>> queryList(){
        return ceshiService.queryList();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-09-04 14:46  springboots\
     文件         268  2018-09-04 11:17  springboots\.gitignore
     目录           0  2018-09-04 14:51  springboots\.idea\
     文件         634  2018-09-04 11:17  springboots\.idea\compiler.xml
     文件         172  2018-09-04 11:17  springboots\.idea\encodings.xml
     目录           0  2018-09-04 13:55  springboots\.idea\inspectionProfiles\
     文件         418  2018-09-04 13:55  springboots\.idea\inspectionProfiles\Project_Default.xml
     目录           0  2018-09-04 11:21  springboots\.idea\libraries\
     文件         568  2018-09-04 11:17  springboots\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xml
     文件         547  2018-09-04 11:17  springboots\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xml
     文件         522  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml
     文件         644  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
     文件         595  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml
     文件         623  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml
     文件         674  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml
     文件         688  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml
     文件         729  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml
     文件         546  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xml
     文件         700  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
     文件         503  2018-09-04 11:17  springboots\.idea\libraries\Maven__com_zaxxer_HikariCP_2_7_9.xml
     文件         611  2018-09-04 11:17  springboots\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xml
     文件         611  2018-09-04 11:17  springboots\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xml
     文件         455  2018-09-04 11:17  springboots\.idea\libraries\Maven__junit_junit_4_12.xml
     文件         536  2018-09-04 11:17  springboots\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_7_11.xml
     文件         578  2018-09-04 11:17  springboots\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml
     文件         542  2018-09-04 11:17  springboots\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xml
     文件         507  2018-09-04 11:17  springboots\.idea\libraries\Maven__net_minidev_json_smart_2_3.xml
     文件         573  2018-09-04 11:17  springboots\.idea\libraries\Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml
     文件         608  2018-09-04 11:17  springboots\.idea\libraries\Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml
     文件         625  2018-09-04 11:17  springboots\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_32.xml
     文件         611  2018-09-04 11:17  springboots\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_32.xml
............此处省略101个文件信息

评论

共有 条评论