• Idea创建模板


    新建文件模板

    /**
     * 
     * @author zenglw
     * @date ${DATE}
     */

    Mapper

    #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
    #parse("File Header.java")
    @Mapper
    public interface ${NAME}Mapper extends JpaMapper<${NAME},Long> {
    }

     domain

    #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
    #parse("File Header.java")
    @Data
    public class ${NAME} implements Serializable {
    }

     service

    #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
    #parse("File Header.java")
    @Service
    public class ${NAME}Service{
    }

    controller

    #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
    #parse("File Header.java")
    @RestController
    public class ${NAME}Controller{
    }

    repository

    #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
    #parse("File Header.java")
    @Repository
    public class ${NAME}Repository {
    }
  • 相关阅读:
    fastdfs部署及官网
    fasrdfs在spring cloud中的使用
    面包屑的查询
    SpringCloud中使用ES使用课程上下线
    Redis中在项目中的使用
    树结构Tree查询
    平凡的世界 田晓霞的日记 摘抄

    英语积累
    英语学习第四天
  • 原文地址:https://www.cnblogs.com/jimboi/p/8942438.html
Copyright © 2020-2023  润新知