{
"date": "2018-10-30",
"superServiceImplClassPackage": "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl",
"baseResultMap": true,
"superMapperClass": "BaseMapper",
"activeRecord": true,
"superServiceClass": "IService",
"superServiceImplClass": "ServiceImpl",
"table": {
"comment": "查询指定城市所有测点的空气质量实况每小时更新",
"commonFields": [],
"controllerName": "AirStatLiveDataController",
"convert": false,
"entityName": "AirStatLiveData",
"entityPath": "airStatLiveData",
"fieldNames": "table_id, citycode, cityname, createtime, time, info, devid, stationname, aqi, pm25, pm10, co, so2, no2, o3, prkey",
"fields": [{
"capitalName": "TableId",
"columnType": "LONG",
"comment": "表单id",
"convert": false,
"keyFlag": true,
"keyIdentityFlag": true,
"name": "table_id",
"propertyName": "tableId",
"propertyType": "Long",
"type": "bigint(20)"
}, {
"capitalName": "Citycode",
"columnType": "STRING",
"comment": "城市编码",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "citycode",
"propertyName": "citycode",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Cityname",
"columnType": "STRING",
"comment": "城市名称",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "cityname",
"propertyName": "cityname",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Createtime",
"columnType": "STRING",
"comment": "数据更新时间",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "createtime",
"propertyName": "createtime",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Time",
"columnType": "STRING",
"comment": "数据发布时间",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "time",
"propertyName": "time",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Info",
"columnType": "STRING",
"comment": "空气质量数据列表",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "info",
"propertyName": "info",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Devid",
"columnType": "STRING",
"comment": "测点编号",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "devid",
"propertyName": "devid",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Stationname",
"columnType": "STRING",
"comment": "测点名称",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "stationname",
"propertyName": "stationname",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Aqi",
"columnType": "STRING",
"comment": "空气质量指数",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "aqi",
"propertyName": "aqi",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Pm25",
"columnType": "STRING",
"comment": "pm2.5值(μg/m³)",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "pm25",
"propertyName": "pm25",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Pm10",
"columnType": "STRING",
"comment": "pm10值(μg/m³)",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "pm10",
"propertyName": "pm10",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Co",
"columnType": "STRING",
"comment": "一氧化碳值(mg/m³)",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "co",
"propertyName": "co",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "So2",
"columnType": "STRING",
"comment": "二氧化硫值(μg/m³)",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "so2",
"propertyName": "so2",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "No2",
"columnType": "STRING",
"comment": "二氧化氮值(μg/m³)",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "no2",
"propertyName": "no2",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "O3",
"columnType": "STRING",
"comment": "臭氧值(μg/m³)",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "o3",
"propertyName": "o3",
"propertyType": "String",
"type": "varchar(50)"
}, {
"capitalName": "Prkey",
"columnType": "STRING",
"comment": "首要污染物",
"convert": false,
"keyFlag": false,
"keyIdentityFlag": false,
"name": "prkey",
"propertyName": "prkey",
"propertyType": "String",
"type": "varchar(50)"
}],
"importPackages": ["com.baomidou.mybatisplus.annotation.IdType", "com.baomidou.mybatisplus.extension.activerecord.Model", "com.baomidou.mybatisplus.annotation.TableId", "java.io.Serializable"],
"mapperName": "AirStatLiveDataMapper",
"name": "air_stat_live_data",
"serviceImplName": "AirStatLiveDataServiceImpl",
"serviceName": "AirStatLiveDataService",
"xmlName": "AirStatLiveDataMapper"
},
"package": {
"Entity": "com.enso.entity",
"Mapper": "com.enso.mapper",
"Xml": "com.enso.mapper",
"ServiceImpl": "com.enso.service.impl",
"Service": "com.enso.service",
"Controller": "com.enso.controller"
},
"author": "Mr.Wang",
"swagger2": false,
"baseColumnList": false,
"kotlin": false,
"entityLombokModel": false,
"superMapperClassPackage": "com.baomidou.mybatisplus.core.mapper.BaseMapper",
"restControllerStyle": false,
"entityBuilderModel": true,
"superServiceClassPackage": "com.baomidou.mybatisplus.extension.service.IService",
"entityBooleanColumnRemoveIsPrefix": false,
"entityColumnConstant": false,
"config": {
"globalConfig": {
"activeRecord": true,
"author": "Mr.Wang",
"baseColumnList": false,
"baseResultMap": true,
"controllerName": "%sController",
"dateType": "TIME_PACK",
"enableCache": false,
"fileOverride": false,
"kotlin": false,
"mapperName": "%sMapper",
"open": false,
"outputDir": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java",
"serviceImplName": "%sServiceImpl",
"serviceName": "%sService",
"swagger2": false,
"xmlName": "%sMapper"
},
"packageInfo": {
"$ref": "$.package"
},
"pathInfo": {
"entity_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\entity",
"controller_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\controller",
"xml_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\mapper",
"service_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\service",
"mapper_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\mapper",
"service_impl_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\service\\impl"
},
"strategyConfig": {
"capitalMode": false,
"columnNaming": "underline_to_camel",
"controllerMappingHyphenStyle": false,
"entityBooleanColumnRemoveIsPrefix": false,
"entityBuilderModel": true,
"entityColumnConstant": false,
"entityLombokModel": false,
"entityTableFieldAnnotationEnable": false,
"include": ["air_stat_live_data"],
"naming": "underline_to_camel",
"restControllerStyle": false,
"skipView": false,
"superMapperClass": "com.baomidou.mybatisplus.core.mapper.BaseMapper",
"superServiceClass": "com.baomidou.mybatisplus.extension.service.IService",
"superServiceImplClass": "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl"
},
"superMapperClass": "com.baomidou.mybatisplus.core.mapper.BaseMapper",
"superServiceClass": "com.baomidou.mybatisplus.extension.service.IService",
"superServiceImplClass": "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl",
"tableInfoList": [{
"$ref": "$.table"
}],
"template": {
"controller": "/templates/controller.java",
"mapper": "/templates/mapper.java",
"service": "/templates/service.java",
"serviceImpl": "/templates/serviceImpl.java",
"xml": "/templates/mapper.xml"
}
},
"enableCache": false,
"entity": "AirStatLiveData"
}

https://blog.csdn.net/qq_33842795/article/details/80227382       https://www.jianshu.com/p/8bf62ad92f54  自定义模板的使用方法

mybatis-plus generator template 中的全部属性的更多相关文章

  1. mybatis生成的pojo 中的属性或方法不够我们当做dto使用时

    我们在写代码的时候,如果一个 mybatis生成的pojo 中的属性或方法不够我们使用(当做dto和前台交互)时,我们有两种方法: 第一: 直接在 原 pojo 中增加属性或者方法 第二:我们可以再写 ...

  2. Mybatis中实体类属性和数据列之间映射的四种办法

    http://blog.csdn.net/lmy86263/article/details/53150091 Mybatis不像hibernate中那么自动化,通过@Column注解或者直接使用实体类 ...

  3. Mybatis中实体类属性与数据库列表间映射方法介绍

               这篇文章主要介绍了Mybatis中实体类属性与数据列表间映射方法介绍,一共四种方法方法,供大家参考.         Mybatis不像Hibernate中那么自动化,通过@Co ...

  4. SqlMapConfig.xml中的setting属性 Ibatis mybatis

    <settingscacheModelsEnabled="true"lazyLoadingEnabled="false"enhancementEnable ...

  5. MyBatis - 7.MyBatis逆向 Generator

    MyBatis Generator: 简称MBG,是一个专门为MyBatis框架使用者定制的代码生成器,可以快速的根据表生成对应的映射文件,接口,以及bean类.支持基本的增删改查,以及QBC风格的条 ...

  6. mybatis之generator生成代码

    首先在pom文件中引入以下代码 <plugin> <groupId>org.mybatis.generator</groupId> <artifactId&g ...

  7. 【Mybatis】MyBatis之Generator自动生成代码(九)

    MyBatis Generator 简介 MyBatis Generator 连接数据库表并生成MyBatis或iBatis文件.这有助于最大限度地减少使用MyBatis时为数据库文件创建简单CRUD ...

  8. meta标签中的http-equiv属性使用介绍(转载)

    meta是html语言head区的一个辅助性标签.也许你认为这些代码可有可无.其实如果你能够用好meta标签,会给你带来意想不到的效果,meta标签的作用有:搜索引擎优化(SEO),定义页面使用语言, ...

  9. XML中的DOCTYPE属性

    一.先来两个小例子 内部dtd将standalone设为真. <?xml version="1.0" standalone="yes"?> < ...

随机推荐

  1. LeetCode(303)Range Sum Query - Immutable

    题目 Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclus ...

  2. LeetCode(275)H-Index II

    题目 Follow up for H-Index: What if the citations array is sorted in ascending order? Could you optimi ...

  3. MDK editions for Nuvoton devices

    10 Sep 2018 MDK editions for Nuvoton devices For users of Nuvoton devices, Keil® MDK increases its a ...

  4. 【草稿】JS中如何操作时间

    如何声明时间变量 如何设置时间变量的时.分.秒.毫秒 如何根据字符串变量,声明指定的时间变量 如何比较两个时间变量 代码如下: $(function () { var d = new Date(); ...

  5. Linux学习-用 make 进行宏编译

    为什么要用 make 先来想象一个案例,假设我的执行档里面包含了四个原始码文件,分别是 main.c haha.c sin_value.c cos_value.c 这四个文件,这四个文件的目的是: m ...

  6. chrome无界面模式headless配置

    引入Options: 配置浏览器: 配置浏览器options,然后传入webdriver.Chrome()就可以成功使用了.

  7. TSS (任务状态段)的作用及结构

    1.什么是TSS TSS全称Task State Segment ,是操作系统在进行进程切换时保存进程现场信息的段 2.TSS什么时候用,有什么用 TSS在任务(进程)切换时起着重要的作用,通过它保存 ...

  8. CodeForces 570E DP Pig and Palindromes

    题意:给出一个n行m列的字符矩阵,从左上角走到右下角,每次只能往右或者往下走,求一共有多少种走法能得到回文串. 分析: 可以从两头开始考虑,每次只走一样字符的格子,这样得到的两个字符串拼起来之后就是一 ...

  9. 03009_HttpServletResponse

    1.HttpServletResponse概述 (1)我们在创建Servlet时会覆盖service()方法,或doGet()/doPost(),这些方法都有两个参数,一个为代表请求的request和 ...

  10. 栈的push、pop序列 【微软面试100题 第二十九题】

    题目要求: 输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是否为该栈的弹出顺序.假设压入栈的所有数字均不相等.例如序列1.2.3.4.5是某栈的压栈序列,序列4.5.3.2.1是该压栈 ...