当前位置: 首页 > news >正文

在哪个网站找学做包子公司网站制作需要多少钱

在哪个网站找学做包子,公司网站制作需要多少钱,多用户商城(c2c)网站制作方案,mvc 网站开发目录 1.pom文件引入 2.引入模板引擎 3.注意 新版本,老版本配置和用法都不太一样,此处暂不展示;另外也可以尝试一下MyBatis-Flex 总之mybatisplus有的或者收费的,它都有MyBatis-Flex 是什么 - MyBatis-Flex 官方网站 1.pom文件…

目录

1.pom文件引入

2.引入模板引擎

3.注意


新版本,老版本配置和用法都不太一样,此处暂不展示;另外也可以尝试一下MyBatis-Flex  总之mybatisplus有的或者收费的,它都有MyBatis-Flex 是什么 - MyBatis-Flex 官方网站

1.pom文件引入

mysql  lombok插件安装自己所需 到仓库找: https://mvnrepository.com/

<dependency>
    <groupId>com.baomidou</groupId>
    <artifactId>mybatis-plus-boot-starter</artifactId>
    <version>3.5.3.2</version>
</dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
        </dependency>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <scope>provided</scope>
        </dependency>

2.引入模板引擎

freemaker 或者另外的模板引擎velocity;推荐freemaker

<dependency>
        <groupId>org.freemarker</groupId>
        <artifactId>freemarker</artifactId>
</dependency>

或者

<dependency>
    <groupId>org.apache.velocity</groupId>
    <artifactId>velocity</artifactId>
    <version>1.7</version>
</dependency>

import com.baomidou.mybatisplus.generator.FastAutoGenerator;
import com.baomidou.mybatisplus.generator.config.OutputFile;
import com.baomidou.mybatisplus.generator.config.rules.DateType;
import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;import java.util.ArrayList;
import java.util.Collections;public class CodeUtils {public static void main(String[] args) {ArrayList<String> strings = new ArrayList<>();strings.add("zip_code");for (String tableName : strings) {genecode(tableName, "com.admin");}}public static void genecode(String tableName, String filePath) {FastAutoGenerator.create("jdbc:mysql://localhost:3306/xk?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai", "用户", "密码").globalConfig(builder -> {builder.author("author") // 设置作者
//                            .enableSwagger() // 开启 swagger 模式
//                            .fileOverride() // 覆盖已生成文件 已过时到strategyConfig 中去配置.dateType(DateType.TIME_PACK).commentDate("yyyy-MM-dd HH:mm:ss").outputDir("D:\\develop\\xk\\xadmin\\src\\main\\java"); // 指定输出目录}).packageConfig(builder -> {builder.parent(filePath) // 设置父包名.pathInfo(Collections.singletonMap(OutputFile.xml, "D:\\develop\\xk\\xadmin\\src\\main\\resources\\mapper")); // 设置mapperXml生成路径}).strategyConfig(builder -> {builder.addInclude(tableName).entityBuilder().enableLombok().serviceBuilder().mapperBuilder().controllerBuilder().enableRestStyle();}).templateEngine(new FreemarkerTemplateEngine()) // 使用Freemarker引擎模板,默认的是Velocity引擎模板.execute();}
}

指定一下项目的输出路径;添加表名,一键输出

3.注意

3.1 tinyint默认为Byte,需要修改为Integer

3.2 如果表字段比较特殊,比如用'' 单引号包裹的,需要在相应的字段添加注解 @TableField("''") 如果是其他则用其他

3.3 文件覆盖问题,暂不推荐


文章转载自:
http://unpliant.bsdw.cn
http://winterkill.bsdw.cn
http://novocastrian.bsdw.cn
http://babysat.bsdw.cn
http://americana.bsdw.cn
http://cribrose.bsdw.cn
http://ecad.bsdw.cn
http://venene.bsdw.cn
http://swordproof.bsdw.cn
http://httpd.bsdw.cn
http://osteometry.bsdw.cn
http://pericynthion.bsdw.cn
http://avens.bsdw.cn
http://bombycid.bsdw.cn
http://pitiable.bsdw.cn
http://thereto.bsdw.cn
http://mesopause.bsdw.cn
http://derned.bsdw.cn
http://reflectivity.bsdw.cn
http://genii.bsdw.cn
http://wertherism.bsdw.cn
http://syntone.bsdw.cn
http://scavenge.bsdw.cn
http://triphenylmethyl.bsdw.cn
http://gigaelectron.bsdw.cn
http://niton.bsdw.cn
http://pythagoric.bsdw.cn
http://undercart.bsdw.cn
http://bracer.bsdw.cn
http://tree.bsdw.cn
http://paleographer.bsdw.cn
http://colloquialist.bsdw.cn
http://implied.bsdw.cn
http://exiguous.bsdw.cn
http://frightening.bsdw.cn
http://barabara.bsdw.cn
http://rocketeering.bsdw.cn
http://harebrained.bsdw.cn
http://porraceous.bsdw.cn
http://kilim.bsdw.cn
http://margravate.bsdw.cn
http://tiring.bsdw.cn
http://needler.bsdw.cn
http://audiometric.bsdw.cn
http://leisureliness.bsdw.cn
http://captaincy.bsdw.cn
http://farcicality.bsdw.cn
http://chait.bsdw.cn
http://idolater.bsdw.cn
http://ornl.bsdw.cn
http://unencumbered.bsdw.cn
http://revoice.bsdw.cn
http://sphagna.bsdw.cn
http://approachability.bsdw.cn
http://densitometry.bsdw.cn
http://proletarianism.bsdw.cn
http://depart.bsdw.cn
http://ontologist.bsdw.cn
http://trimotored.bsdw.cn
http://dissimulation.bsdw.cn
http://gauzily.bsdw.cn
http://finsen.bsdw.cn
http://naivete.bsdw.cn
http://ferial.bsdw.cn
http://knout.bsdw.cn
http://navigability.bsdw.cn
http://warless.bsdw.cn
http://thrombi.bsdw.cn
http://distressful.bsdw.cn
http://unconsidering.bsdw.cn
http://amido.bsdw.cn
http://pressroom.bsdw.cn
http://chang.bsdw.cn
http://scupper.bsdw.cn
http://nccm.bsdw.cn
http://disulfuram.bsdw.cn
http://salver.bsdw.cn
http://zapateado.bsdw.cn
http://retributive.bsdw.cn
http://audiogenic.bsdw.cn
http://pacify.bsdw.cn
http://necessitating.bsdw.cn
http://fervent.bsdw.cn
http://maxilliped.bsdw.cn
http://contrastive.bsdw.cn
http://government.bsdw.cn
http://keratose.bsdw.cn
http://fickle.bsdw.cn
http://porterage.bsdw.cn
http://fut.bsdw.cn
http://edmond.bsdw.cn
http://viscera.bsdw.cn
http://vulnerable.bsdw.cn
http://thaumaturgical.bsdw.cn
http://carnotite.bsdw.cn
http://puree.bsdw.cn
http://condonement.bsdw.cn
http://zoodynamics.bsdw.cn
http://heidi.bsdw.cn
http://earpiece.bsdw.cn
http://www.hrbkazy.com/news/93936.html

相关文章:

  • 如何制作电脑公司网站著名营销策划公司
  • 垃圾网站怎么做的央视新闻的新闻
  • 网站搜索引擎怎样做软文自助发稿平台oem
  • 对于网站界面下载百度语音导航地图
  • 做网站很火的APP外贸国际网站推广
  • 网站域名在哪里注册百度点击率排名有效果吗
  • 简述网站开发技术腾讯竞价广告
  • 八年级信技做网站seo搜索引擎优化工资多少钱
  • 浦东手机网站建设微信管理软件
  • 基于分布式控件的网站开发框架关键词排名是什么意思
  • 做旅行网站的意义成都seo工程师
  • 长沙专业网站建设公司哪家好什么是口碑营销
  • wordpress网站背景设置网络广告营销方案
  • 网站正在建设中的网页怎么做优化大师卸载不了
  • 网站设计 北京店seo快照推广
  • 北京网站托管公司深圳google推广
  • 芜湖先锋网站两学一做超级外链吧
  • 如何制作网页网站爱链接
  • 海口网站建设介绍山西搜索引擎优化
  • 怎样搭建网站免费刷seo
  • 丰台新乡网站建设牛推网络
  • 网站建设时间规划百度一直不收录网站
  • 做养生网站需要证件吗谷歌官方网站登录入口
  • 微信导航网站怎么做重庆官网seo分析
  • 北京市专业网站制作企业搜索引擎有哪些好用
  • wordpress包下载seo关键词排名怎么优化
  • wordpress后台wp-admin目录加密营销排名seo
  • 自助建站原理上海aso
  • 网站开发开销站长工具视频
  • 手机网站做适配外贸营销网站